Vector::BL...ceiveError(3)
๐ Vector::BLF::LinReceiveError โ LIN_RCV_ERROR ๐
okay bestie, welcome to the Library Functions Manual page for Vector::BLF::LinReceiveError. The header vibe is Vector::BL...ceiveError(3), and it is so giving niche C++ BLF object energy. Buckle up, we're getting into it. ๐ฆ
๐ธ NAME ๐ธ
Vector::BLF::LinReceiveError โ LIN_RCV_ERROR.
โจ SYNOPSIS โจ
#include <LinReceiveError.h>
Inherits Vector::BLF::ObjectHeader.
๐ Public Member Functions ๐
void read (AbstractFile &is) overrideโ read this object's data, bestie.void write (AbstractFile &os) overrideโ write this object's data.uint32_t calculateObjectSize () const overrideโ calculate the object size.
๐ซถ 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 channeluint8_t id {}โ LIN ID.uint8_t dlc {}โ LIN DLC.uint8_t fsmId {}uint8_t fsmState {}uint8_t headerTime {}uint8_t fullTime {}uint8_t stateReason {}uint8_t offendingByte {}uint8_t shortError {}uint8_t timeoutDuringDlcDetection {}uint32_t reservedLinReceiveError {}
๐ฆ 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::ObjectHeaderenum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }
๐ฅ Detailed Description ๐ฅ
LIN_RCV_ERROR.
Deprecated, bestie. This event may have a wide variety of causes.
An external Master can cause a receive error event:
- by transmitting sync break that is too short,
- by not returning the correct value
0x55in the sync field, - by assigning an incorrect parity to the frame identifier. Other reasons:
Other reasons:
- Slave transmitting an illegal character during a Bus Idle phase (e.g. because it did not finish transmission quickly enough and the checksum byte of the response was sent during the Bus Idle phase),
- Faulty (dominant) stop bit (i.e. framing error),
- LIN hardware receives a character that is different from the character sent during transmission
- LIN hardware only receives part of a frame, at the start of a measurement (in a correctly functioning system).
๐งฎ Member Function Documentation ๐งฎ
uint32_t Vector::BLF::LinReceiveError::calculateObjectSize () const
[override], [virtual]
Calculates the objectSize.
Returns: object size.
Reimplemented from Vector::BLF::ObjectHeaderBase.
void Vector::BLF::LinReceiveError::read (AbstractFile & is)
[override], [virtual]
Read the data of this object.
Parameters: is input stream.
Reimplemented from Vector::BLF::ObjectHeaderBase.
void Vector::BLF::LinReceiveError::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::LinReceiveError::channel {}
application channel โ Channel number where the event notified.
uint8_t Vector::BLF::LinReceiveError::dlc {}
LIN DLC. Frame length.
uint8_t Vector::BLF::LinReceiveError::fsmId {}
Slave Identifier in the Final State Machine (obsolete).
uint8_t Vector::BLF::LinReceiveError::fsmState {}
State Identifier of a Slave in the Final State Machine (obsolete).
uint8_t Vector::BLF::LinReceiveError::fullTime {}
Duration of the entire frame [in bit times].
uint8_t Vector::BLF::LinReceiveError::headerTime {}
Duration of the frame header [in bit times].
uint8_t Vector::BLF::LinReceiveError::id {}
LIN ID. Frame identifier.
uint8_t Vector::BLF::LinReceiveError::offendingByte {}
Byte value that resulted the protocol violation. Only valid for certain values of stateReason.
uint32_t Vector::BLF::LinReceiveError::reservedLinReceiveError {}
reserved.
uint8_t Vector::BLF::LinReceiveError::shortError {}
Specifies the detail level of the event. Following values are possible:
0: short1: full. Most members are not valid unless this member is1.
uint8_t Vector::BLF::LinReceiveError::stateReason {}
The lower 4 bits indicate the LIN hardware state at the time the error has occurred, while the upper 4 bits indicate the reason of the error.
Value for the state:
0: Bus idle1: Waiting for SynchBreak2: Waiting for SynchField3: Waiting for frame ID4-12: Waiting for data byte or checksum byte depending on the frame length. E.g. value4for FrameLength=0, value12for FrameLength=815: Not expected event (i.e. not WakeupRequest) during sleep mode. Occurs for LIN hardware in Master mode only
Values for the reason:
0: Timeout1: Received an unexpected byte violating protocol. In this case,offendingBytemember contains its value2: Received a byte with framing error (with dominant stop bit). In this case,offendingBytemember contains its value3: Unexpected Break field4: Unidentified error
uint8_t Vector::BLF::LinReceiveError::timeoutDuringDlcDetection {}
Flag indicating if the error is a result of an attempt to resolve frame length. Following values are possible:
0: False1: True
๐ Author ๐
Generated automatically by Doxygen for Vector BLF from the source code.
mwah ๐ โ cute footer sign-off: source/version Vector BLF, page Vector::BL...ceiveError(3), and footer date: not shown in the footer text, so we're not inventing one, bestie. ๐ซถ
๐ฆ 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