Kvaser Linux CANLIB: canBusStatistics_s Struct Reference

canBusStatistics_s Struct Reference

#include <canlib.h>

Data Fields

unsigned long stdData
unsigned long stdRemote
unsigned long extData
unsigned long extRemote
unsigned long errFrame
unsigned long busLoad
unsigned long overruns

Detailed Description

This struct is returned by canGetBusStatistics()

The values are cleared when the corresponding channel goes on bus.


Field Documentation

unsigned long busLoad

The bus load, expressed as an integer in the interval 0 - 10000 representing 0.00% - 100.00% bus load.

unsigned long errFrame

Number of error frames.

unsigned long extData

Number of received extended (29-bit identifiers) data frames.

unsigned long extRemote

Number of received extended (29-bit identifiers) remote frames.

unsigned long overruns

The number of overruns detected by the hardware, firmware or driver.

unsigned long stdData

Number of received standard (11-bit identifiers) data frames.

unsigned long stdRemote

Number of received standard (11-bit identifiers) remote frames.