#include <canlib.h> canStatus canReadErrorCounters( int handle, unsigned int* txErr, unsigned int* rxErr, unsigned int* ovErr);
Reads the error counters of the CAN controller.
canOK (zero) if success canERR_xxx (negative) if failure.
canIoCtl to clear the counters.