---
name: "Vector_BLF_CanErrorFrameExt"
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_CanErrorFrameExt"
---

# Vector\_BLF\_CanErrorFrameExt(3)

CAN\_ERROR\_EXT.

## NAME

Vector::BLF::CanErrorFrameExt - CAN\_ERROR\_EXT.

## SYNOPSIS

\#include \<CanErrorFrameExt.h\>

Inherits **Vector::BLF::ObjectHeader**.

### 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 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.

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

### 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.

## 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.
