Vector BLF
|
CAN_ERROR_EXT. More...
#include <CanErrorFrameExt.h>
Public Member Functions | |
void | read (AbstractFile &is) override |
void | write (AbstractFile &os) override |
uint32_t | calculateObjectSize () const override |
![]() | |
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0) | |
void | read (AbstractFile &is) override |
void | write (AbstractFile &os) override |
uint16_t | calculateHeaderSize () const override |
uint32_t | calculateObjectSize () const override |
![]() | |
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType) | |
ObjectHeaderBase (const ObjectHeaderBase &)=default | |
ObjectHeaderBase & | operator= (const ObjectHeaderBase &)=default |
ObjectHeaderBase (ObjectHeaderBase &&)=default | |
ObjectHeaderBase & | operator= (ObjectHeaderBase &&)=default |
Public Attributes | |
uint16_t | channel {} |
application channel | |
uint16_t | length {} |
CAN error frame length. | |
uint32_t | flags {} |
extended CAN error frame flags | |
uint8_t | ecc {} |
error control code | |
uint8_t | position {} |
error position | |
uint8_t | dlc {} |
lower 4 bits: DLC from CAN-Core. Upper 4 bits: reserved | |
uint8_t | reservedCanErrorFrameExt1 {} |
uint32_t | frameLengthInNs {} |
frame length in ns | |
uint32_t | id {} |
frame ID from CAN-Core | |
uint16_t | flagsExt {} |
extended error flags | |
uint16_t | reservedCanErrorFrameExt2 {} |
std::vector< uint8_t > | data {} |
Payload, only for CAN-Core. | |
![]() | |
uint32_t | objectFlags {ObjectFlags::TimeOneNans} |
object flags | |
uint16_t | clientIndex {} |
client index of send node | |
uint16_t | objectVersion {0} |
object specific version | |
uint64_t | objectTimeStamp {} |
object timestamp | |
![]() | |
uint32_t | signature {ObjectSignature} |
signature (ObjectSignature) | |
uint16_t | headerSize {} |
sizeof object header | |
uint16_t | headerVersion {} |
header version (1) | |
uint32_t | objectSize {} |
object size | |
ObjectType | objectType {ObjectType::UNKNOWN} |
object type | |
Additional Inherited Members | |
![]() | |
enum | ObjectFlags : uint32_t { TimeTenMics = 0x00000001 , TimeOneNans = 0x00000002 } |
CAN_ERROR_EXT.
Extended CAN error frame received or transmitted on a CAN channel.
|
overridevirtual |
|
overridevirtual |
Read the data of this object
is | input stream |
Reimplemented from Vector::BLF::ObjectHeaderBase.
|
overridevirtual |
Write the data of this object
os | output stream |
Reimplemented from Vector::BLF::ObjectHeaderBase.
uint16_t Vector::BLF::CanErrorFrameExt::channel {} |
application channel
Channel the frame was sent or received.
std::vector<uint8_t> Vector::BLF::CanErrorFrameExt::data {} |
Payload, only for CAN-Core.
Message data.
uint8_t Vector::BLF::CanErrorFrameExt::dlc {} |
lower 4 bits: DLC from CAN-Core. Upper 4 bits: reserved
Data length code of the corrupted message.
uint8_t Vector::BLF::CanErrorFrameExt::ecc {} |
error control code
Content of Philips SJA1000 Error Code Capture (ECC) register, or the Vector CAN-Core error register (see also flags).
SJA1000-ECC
See documentation of Philips SJA1000 CAN Controller.
Vector CAN-Core
uint32_t Vector::BLF::CanErrorFrameExt::flags {} |
extended CAN error frame flags
Defines what additional information is valid. Following values are possible:
uint16_t Vector::BLF::CanErrorFrameExt::flagsExt {} |
extended error flags
Extended error flags.
uint32_t Vector::BLF::CanErrorFrameExt::frameLengthInNs {} |
frame length in ns
Length of the error frame in nanoseconds (time difference between Start Of Frame and End Of Frame)
uint32_t Vector::BLF::CanErrorFrameExt::id {} |
frame ID from CAN-Core
Message ID of the corrupted message.
uint16_t Vector::BLF::CanErrorFrameExt::length {} |
CAN error frame length.
Length of error frame, unused, may be 0.
uint8_t Vector::BLF::CanErrorFrameExt::position {} |
error position
Bit position of the error frame in the corrupted message.
uint8_t Vector::BLF::CanErrorFrameExt::reservedCanErrorFrameExt1 {} |
reserved
uint16_t Vector::BLF::CanErrorFrameExt::reservedCanErrorFrameExt2 {} |
reserved