---
name: "Vector_BLF_LinReceiveError2"
section: "3"
platform: "linux"
package: "vector-blf"
version: "2.4.2-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Vector_BLF_LinReceiveError2"
---

# Vector\_BLF\_LinReceiveError2(3)

LIN\_RCV\_ERROR2.

## NAME

Vector::BLF::LinReceiveError2 - LIN\_RCV\_ERROR2.

## SYNOPSIS

\#include \<LinReceiveError2.h\>

Inherits **Vector::BLF::ObjectHeader**, and **Vector::BLF::LinDatabyteTimestampEvent**.

### Public Member Functions

void **read** (**AbstractFile** &is) override\
 void **write** (**AbstractFile** &os) override\
 uint32\_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) override\
 void **write** (**AbstractFile** &os) override\
 uint16\_t **calculateHeaderSize** () const override\
 uint32\_t **calculateObjectSize** () const override\

Public Member Functions inherited from **Vector::BLF::ObjectHeaderBase** **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 Member Functions inherited from **Vector::BLF::LinSynchFieldEvent** void **read** (**AbstractFile** &is) override\
 void **write** (**AbstractFile** &os) override\
 uint32\_t **calculateObjectSize** () const override\

Public Member Functions inherited from **Vector::BLF::LinBusEvent** **LinBusEvent** (const LinBusEvent &)=default\
 LinBusEvent & **operator=** (const LinBusEvent &)=default\
 **LinBusEvent** (LinBusEvent &&)=default\
 LinBusEvent & **operator=** (LinBusEvent &&)=default\

### Public Attributes

std::array\< uint8\_t, 8 \> **data** {}\
 data bytes.  uint8\_t **fsmId** {}\
 uint8\_t **fsmState** {}\
 uint8\_t **stateReason** {}\
 uint8\_t **offendingByte** {}\
 uint8\_t **shortError** {}\
 uint8\_t **timeoutDuringDlcDetection** {}\
 uint8\_t **isEtf** {}\
 ETF collision flag.  uint8\_t **hasDatabytes** {}\
 uint32\_t **respBaudrate** {}\
 Response baudrate of the event in bit/sec.  uint32\_t **reservedLinReceiveError** {}\
 double **exactHeaderBaudrate** {}\
 Exact baudrate of the header in bit/sec.  uint32\_t **earlyStopbitOffset** {}\
 Early stop bit offset for UART timestamps in ns.  uint32\_t **earlyStopbitOffsetResponse** {}\
 Early stop bit offset in frame response for UART timestamps in ns.

Public Attributes inherited from **Vector::BLF::ObjectHeader** 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

Public Attributes inherited from **Vector::BLF::ObjectHeaderBase** 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

Public Attributes inherited from **Vector::BLF::LinDatabyteTimestampEvent** std::array\< uint64\_t, 9 \> **databyteTimestamps** {}\
 Databyte timestamps, where d\[0\] = EndOfHeader, d\[1\]=EndOfDataByte1, ..., d\[8\]=EndOfDataByte8.

Public Attributes inherited from **Vector::BLF::LinMessageDescriptor** uint16\_t **supplierId** {}\
 LIN Sub-Identifier - Supplier ID.  uint16\_t **messageId** {}\
 LIN Sub-Identifier - Message ID (16 bits).  uint8\_t **nad** {}\
 LIN Sub-Identifier - NAD.  uint8\_t **id** {}\
 LIN ID.  uint8\_t **dlc** {}\
 LIN DLC.  uint8\_t **checksumModel** {}\
 LIN checksum model.

Public Attributes inherited from **Vector::BLF::LinSynchFieldEvent** uint64\_t **synchBreakLength** {}\
 Sync Break Length in ns.  uint64\_t **synchDelLength** {}\
 Sync Delimiter Length in ns.

Public Attributes inherited from **Vector::BLF::LinBusEvent** uint64\_t **sof** {}\
 Start Of Frame timestamp.  uint32\_t **eventBaudrate** {}\
 Baudrate of the event in bit/sec.  uint16\_t **channel** {}\
 application channel  uint16\_t **reservedLinBusEvent** {}\

### Additional Inherited Members

Public Types inherited from **Vector::BLF::ObjectHeader** enum **ObjectFlags** : uint32\_t { **TimeTenMics** = 0x00000001, **TimeOneNans** = 0x00000002 }\

## Detailed Description

LIN\_RCV\_ERROR2.

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 0x55 in the sync field,

- •

  by assigning an incorrect parity to the frame identifier. 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::LinReceiveError2::calculateObjectSize () const \[override\], \[virtual\]

Calculates the objectSize

**Returns**

object size

Reimplemented from **Vector::BLF::ObjectHeaderBase**.

### void Vector::BLF::LinReceiveError2::read (AbstractFile & is) \[override\], \[virtual\]

Read the data of this object

**Parameters**

*is* input stream

Reimplemented from **Vector::BLF::ObjectHeaderBase**.

### void Vector::BLF::LinReceiveError2::write (AbstractFile & os) \[override\], \[virtual\]

Write the data of this object

**Parameters**

*os* output stream

Reimplemented from **Vector::BLF::ObjectHeaderBase**.

## Member Data Documentation

### uint32\_t Vector::BLF::LinReceiveError2::earlyStopbitOffset {}

Early stop bit offset for UART timestamps in ns. Early stop bit offset in frame header for UART timestamps \[in ns\]

### uint32\_t Vector::BLF::LinReceiveError2::earlyStopbitOffsetResponse {}

Early stop bit offset in frame response for UART timestamps in ns. Early stop bit offset in frame response for UART timestamps \[in ns\]

### double Vector::BLF::LinReceiveError2::exactHeaderBaudrate {}

Exact baudrate of the header in bit/sec. Event's baudrate measured in header \[in bits/sec\]

### uint8\_t Vector::BLF::LinReceiveError2::fsmId {}

Slave Identifier in the Final State Machine (obsolete)

### uint8\_t Vector::BLF::LinReceiveError2::fsmState {}

State Identifier of a Slave in the Final State Machine (obsolete)

### uint8\_t Vector::BLF::LinReceiveError2::hasDatabytes {}

Flag indicating whether at least one data byte value is valid

### uint8\_t Vector::BLF::LinReceiveError2::isEtf {}

ETF collision flag. Flag indicating whether this frame is Event-Triggered one:

- •

  0: not ETF

- •

  1: ETF

### uint8\_t Vector::BLF::LinReceiveError2::offendingByte {}

Byte value that resulted the protocol violation. Only valid for certain values of mStateReason

### uint32\_t Vector::BLF::LinReceiveError2::reservedLinReceiveError {}

reserved

### uint32\_t Vector::BLF::LinReceiveError2::respBaudrate {}

Response baudrate of the event in bit/sec. Event's baudrate measured in response \[in bits/sec\]

### uint8\_t Vector::BLF::LinReceiveError2::shortError {}

Specifies the detail level of the event. Following values are possible:

- •

  0: short

- •

  1: full Most members are not valid unless this member is 1

### uint8\_t Vector::BLF::LinReceiveError2::stateReason {}

The lower 4 bits indicate the LIN hard-ware 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 idle

- •

  1: Waiting for SynchBreak

- •

  2: Waiting for SynchField

- •

  3: Waiting for frame ID

- •

  4-12: Waiting for data byte or checksum byte depending on the frame length. E.g. value 4 for FrameLength=0, value 12 for FrameLength=8

- •

  14: Consecutive event (i.e. event resulting from further data interpretation, after already notified error for first offending byte)

- •

  15: Not expected event (i.e. not WakeupRequest) during sleep mode. Occurs for LIN hardware in Master mode only

Values for the reason:

- •

  0: Timeout

- •

  1: Received an unexpected byte violating protocol. In this case, mOffendingByte member contains its value

- •

  2: Received a byte with framing error (with dominant stop bit). In this case, mOffendingByte member contains its value

- •

  3: Unexpected Break field

- •

  4: Unidentified error

### uint8\_t Vector::BLF::LinReceiveError2::timeoutDuringDlcDetection {}

Flag indicating if the error is a result of an attempt to resolve frame length. Following values are possible:

- •

  0: False

- •

  1: True

## Author

Generated automatically by Doxygen for Vector BLF from the source code.
