Vector::BL...netRxError(3)
π
Vector::BLF::EthernetRxError β ETHERNET_RX_ERROR π
okay so bestie, this is from the Library Functions Manual β page Vector::BL...netRxError(3) (yes, the title has BL... in it, and that's not a glitch, it's just the manpage being extra π). It's all about Vector::BLF::EthernetRxError, aka ETHERNET_RX_ERROR, and the whole thing is an Ethernet RX error frame. Let's go. π¦
β¨ NAME β¨
Vector::BLF::EthernetRxError β ETHERNET_RX_ERROR.
πΈ SYNOPSIS πΈ
#include <EthernetRxError.h>
Inherits Vector::BLF::ObjectHeader. Periodt. π
π Public Types
enum Dir : uint16_t { Rx = 0, Tx = 1, TxRq = 2 }
π«Ά Public Types inherited from Vector::BLF::ObjectHeader
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }
π Public Member Functions
void read (AbstractFile &is) overrideβ the read hook for this object.void write (AbstractFile &os) overrideβ the write hook for this object.uint32_t calculateObjectSize () const overrideβ calculates theobjectSize.virtual uint16_t calculateStructLength () constβ calculatesstructLength.
π Public Member Functions inherited from Vector::BLF::ObjectHeader
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)β constructor signature exactly as listed, withobjectVersiondefaulting to0.void read (AbstractFile &is) overrideβ inherited override, same signature energy.void write (AbstractFile &os) overrideβ inherited override, same signature energy.uint16_t calculateHeaderSize () const overrideβ inherited header-size calculation override.uint32_t calculateObjectSize () const overrideβ inherited object-size calculation override.
π Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)β constructor signature exactly as listed.ObjectHeaderBase (const ObjectHeaderBase &)=defaultβ copy constructor, defaulted.ObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultβ copy assignment, defaulted.ObjectHeaderBase (ObjectHeaderBase &&)=defaultβ move constructor, defaulted.ObjectHeaderBase & operator= (ObjectHeaderBase &&)=defaultβ move assignment, defaulted.
β Public Attributes
uint16_t structLength {}β length of this structure.uint16_t channel {}β the channel of the frame (same tea as lower down, bestie).uint16_t dir {}β direction flag.uint16_t hardwareChannel {}β HW channel.0= invalid.uint32_t fcs {}β Frame Check Sum.uint16_t frameDataLength {}β number of valid raw ethernet data bytes.uint16_t reservedEthernetRxError {}β reserved.uint32_t error {}β error field, with the error-code list further down.std::vector< uint8_t > frameData {}β max 1600 data bytes per frame.
π 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 {}βsizeofobject header.uint16_t headerVersion {}β header version (1).uint32_t objectSize {}β object size.ObjectType objectType {ObjectType::UNKNOWN}β object type.
π Detailed Description π
ETHERNET_RX_ERROR.
Ethernet RX error frame. That's the whole vibe: an Ethernet receive error frame doing its little thing. π
π₯ Member Enumeration Documentation π₯
enum Vector::BLF::EthernetRxError::Dir : uint16_t
enumeration for dir.
Enumerator:
Rxβ receiveTxβ transmitTxRqβ transmit request
π«Ά Member Function Documentation π«Ά
uint32_t Vector::BLF::EthernetRxError::calculateObjectSize () const [override], [virtual]
Calculates the objectSize.
Returns: object size.
Reimplemented from Vector::BLF::ObjectHeaderBase.
uint16_t Vector::BLF::EthernetRxError::calculateStructLength () const [virtual]
Calculates structLength.
Returns: struct length.
void Vector::BLF::EthernetRxError::read (AbstractFile & is) [override], [virtual]
Read the data of this object.
Parameters: is input stream.
Reimplemented from Vector::BLF::ObjectHeaderBase.
void Vector::BLF::EthernetRxError::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::EthernetRxError::channel {}β the channel of the frame.uint32_t Vector::BLF::EthernetRxError::error {}β error code1: Data Length Error2: Invalid CRC3: Invalid Data received4: Collision detected
uint32_t Vector::BLF::EthernetRxError::fcs {}β Frame Check Sum. Ethernet frame checksum.std::vector<uint8_t> Vector::BLF::EthernetRxError::frameData {}β max 1600 data bytes per frame. Raw Ethernet frame data. Max 1522 data bytes per frame.uint16_t Vector::BLF::EthernetRxError::frameDataLength {}β number of valid raw ethernet data bytes. Number of valid raw ethernet data bytes, starting with Target MAC ID.uint16_t Vector::BLF::EthernetRxError::reservedEthernetRxError {}β reserved.uint16_t Vector::BLF::EthernetRxError::structLength {}β length of this structure. Length of this structure, withoutsizeof(ObjectHeader)and without raw data length.
π Author π
Generated automatically by Doxygen for Vector BLF from the source code. No human author to @, just Doxygen doing its robot thing. π€β¨
π okay that's the whole page, bestie. Source/version footer vibes: Vector BLF, and the page title in that footer is Vector::BL...netRxError(3) β cute little sign-off, not a copy-paste. π
π¦ 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