Kvaser Linux CANLIB
|
Use canReadErrorCounters() to read the error counters of the CAN controller. There are two such counters in a CAN controller (they are required by the protocol definition).
Use canReadStatus() to obtain the bus status (error active, error passive, bus off; as defined by the CAN standard).