The following C++ application demonstrates use of the ADS PeliCAN driver driver.
The application is intended to be run on two devices connected on a CAN bus. One device becomes the 'sender' and the other the 'receiver'. CAN messages are cycled from the sender to the receiver and then back to the sender. The sender checks that the messages returned to it contain valid data. The sender also tracks throughput statistics, which it displays when the transmission is complete.
See below for app, source code and information about using CAN with managed code.
Update We've updated the application to use the 1.2 version of the PeliCAN driver. The sample will continue to work with version 1.1 of the driver, but the call new IOCTL to query the driver version will fail.