Struct SCanMessage#

Struct Documentation#

struct SCanMessage#

CAN message structure.

Public Types

enum class EDirection#

Direction enumeration.

Values:

enumerator rx#
enumerator tx#

Public Members

double dTimestamp#

Timestamp in seconds.

uint32_t uiChannel#

CAN channel (first channel starts with 0).

uint32_t uiId#

CAN ID.

bool bExtended#

Set when the CAN ID is extended (29 bits) or not when standard (11 bits).

bool bCanFd#

Set when the message contains CAN-FD data (more than 8 bytes).

enum asc::SCanMessage::EDirection eDirection#

Direction RX or TX.

uint32_t uiLength#

Length of the CAN data.

uint8_t rguiData[64]#

Array with the CAN data.