---
name: "Vector_BLF_LinSyncError2"
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_LinSyncError2"
---

# Vector\_BLF\_LinSyncError2(3)

LIN\_SYN\_ERROR2.

## NAME

Vector::BLF::LinSyncError2 - LIN\_SYN\_ERROR2.

## SYNOPSIS

\#include \<LinSyncError2.h\>

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

### 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\< uint16\_t, 4 \> **timeDiff** {}\

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::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\_SYN\_ERROR2.

Synchronization errors occur if the LIN hardware cannot synchronize with an external Master. This might happen if the baud rate actually used by the Master deviates by more than 15 % from the baud rate specified by the LIN hardware. In this case the baud rate value should be modified. This error event may also occur if the Master transmits an invalid or corrupted Sync field.

## Member Function Documentation

### uint32\_t Vector::BLF::LinSyncError2::calculateObjectSize () const \[override\], \[virtual\]

Calculates the objectSize

**Returns**

object size

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

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

Read the data of this object

**Parameters**

*is* input stream

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

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

Write the data of this object

**Parameters**

*os* output stream

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

## Member Data Documentation

### std::array\<uint16\_t, 4\> Vector::BLF::LinSyncError2::timeDiff {}

Time intervals \[in us\] detected between the falling signal edges of the Sync field

## Author

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