VECTOR_BLF_CANERRORFRAMEEXT(3)
π Vector::BLF::CanErrorFrameExt β CAN_ERROR_EXT π
okay so bestie, welcome to the Vector::BL...rorFrameExt(3) page from the Library Functions Manual. We're talking about CAN_ERROR_EXT, and it's giving very specific CAN-error-frame main character energy. Let's get into it π
β¨
β¨ NAME β¨
Vector::BLF::CanErrorFrameExt β CAN_ERROR_EXT.
πΈ SYNOPSIS πΈ
#include <CanErrorFrameExt.h>
Inherits Vector::BLF::ObjectHeader.
π Public Member Functions π
void read (AbstractFile &is) overridevoid write (AbstractFile &os) overrideuint32_t calculateObjectSize () const override
π Public Member Functions inherited from Vector::BLF::ObjectHeader π
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)void read (AbstractFile &is) overridevoid write (AbstractFile &os) overrideuint16_t calculateHeaderSize () const overrideuint32_t calculateObjectSize () const override
π¦ Public Member Functions inherited from Vector::BLF::ObjectHeaderBase π¦
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)ObjectHeaderBase (const ObjectHeaderBase &)=defaultObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultObjectHeaderBase (ObjectHeaderBase &&)=defaultObjectHeaderBase & operator= (ObjectHeaderBase &&)=default
π Public Attributes π
uint16_t channel {}β application channeluint16_t length {}β CAN error frame length.uint32_t flags {}β extended CAN error frame flagsuint8_t ecc {}β error control codeuint8_t position {}β error positionuint8_t dlc {}β lower 4 bits: DLC from CAN-Core. Upper 4 bits: reserveduint8_t reservedCanErrorFrameExt1 {}uint32_t frameLengthInNs {}β frame length in nsuint32_t id {}β frame ID from CAN-Coreuint16_t flagsExt {}β extended error flagsuint16_t reservedCanErrorFrameExt2 {}std::vector< uint8_t > data {}β Payload, only for CAN-Core.
π«Ά Public Attributes inherited from Vector::BLF::ObjectHeader π«Ά
uint32_t objectFlags {ObjectFlags::TimeOneNans}β object flagsuint16_t clientIndex {}β client index of send nodeuint16_t objectVersion {0}β object specific versionuint64_t objectTimeStamp {}β object timestamp
π Public Attributes inherited from Vector::BLF::ObjectHeaderBase π
uint32_t signature {ObjectSignature}β signature (ObjectSignature)uint16_t headerSize {}β sizeof object headeruint16_t headerVersion {}β header version (1)uint32_t objectSize {}β object sizeObjectType objectType {ObjectType::UNKNOWN}β object type
π Additional Inherited Members π
β Public Types inherited from Vector::BLF::ObjectHeader β
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }
π Detailed Description π
CAN_ERROR_EXT.
Extended CAN error frame received or transmitted on a CAN channel. No cap, that's the whole vibe of this object π
π₯ Member Function Documentation π₯
π« uint32_t Vector::BLF::CanErrorFrameExt::calculateObjectSize () const
[override], [virtual]
Calculates the objectSize.
Returns: object size.
Reimplemented from Vector::BLF::ObjectHeaderBase.
π« void Vector::BLF::CanErrorFrameExt::read (AbstractFile & is) [override], [virtual]
Read the data of this object.
Parameters: is input stream.
Reimplemented from Vector::BLF::ObjectHeaderBase.
π« void Vector::BLF::CanErrorFrameExt::write (AbstractFile & os) [override], [virtual]
Write the data of this object.
Parameters: os output stream.
Reimplemented from Vector::BLF::ObjectHeaderBase.
π Member Data Documentation π
πΈ 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
- Bit 0-5 Meaning:
- 0: Bit Error
- 1: Form Error
- 2: Stuff Error
- 3: Other Error
- 4: CRC Error
- 5: Ack-Del-Error
- Bit 6-7 Meaning:
- 0: RX-NAK-Error
- 1: TK-NAK-Error
- 2: RX-Error
- 3: TX-Error
πΈ uint32_t Vector::BLF::CanErrorFrameExt::flags {}
extended CAN error frame flags Defines what additional information is valid. Following values are possible:
- 1: SJA 1000 ECC is valid (member
ecc) - 2: Vector CAN Core Error Code is valid.
- 4: Vector CAN Core Error Position
- 8: Vector CAN Core Frame Length in ns
πΈ uint16_t Vector::BLF::CanErrorFrameExt::flagsExt {}
extended error flags Extended error flags.
- Bit 0-4: Segment (only SJA1000)
- Bit 5: Direction, 1=RX
- Bit 6-11: Error Code
- 0: Bit Error
- 1: Form Error
- 2: Stuff Error
- 3: Other Error
- 4: CRC Error
- 5: ACK-DEL Error
- Bit 12-13: Extended Direction
- 0: RX NAK
- 1: TX NAK
- 2: RX
- 3: TX
- Bit 14: 1=The error frame was send from the application
πΈ 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
π Author π
Generated automatically by Doxygen for Vector BLF from the source code.
xoxo, your Unix bestie π«Άπ β this page is from the Vector BLF manual/source, and the footer's date slot is giving mysterious blank-slate energy (the original footer literally just says Vector BLF, ngl) ππβ¨
π¦ where this page comes from
- arch rolling: vector-blf 2.4.2-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms