Vector::BLF::MostPkt2(3)
π Vector::BLF::MostPkt2(3) π
okay bestie, so this is a page from the Library Functions Manual and it's all about Vector::BLF::MostPkt2, which isβsay it with meβMOST_PKT2. iconic name, no notes. β¨
π NAME π
Vector::BLF::MostPkt2 β literally just MOST_PKT2. that's the whole name. slay.
β¨ SYNOPSIS β¨
#include <MostPkt2.h>
she Inherits from Vector::BLF::ObjectHeader2. family tree matters, bestie πΈ
π 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::ObjectHeader2
ObjectHeader2 (const ObjectType objectType)
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
like, four whole defaulted special members? she's lowkey just vibing and letting the compiler do the work. periodt.
π Public Attributes
uint16_t channel {}β application channeluint8_t dir {}uint8_t reservedMostPkt1 {}uint32_t sourceAdr {}uint32_t destAdr {}uint8_t arbitration {}uint8_t timeRes {}uint8_t quadsToFollow {}uint8_t reservedMostPkt2 {}uint16_t crc {}uint8_t priority {}uint8_t transferType {}β Tranfer Type. (yes that's how it's spelled in the source, i'm not fixing it, it's canon π)uint8_t state {}uint8_t reservedMostPkt3 {}uint16_t reservedMostPkt4 {}uint32_t pktDataLength {}β length of variable data in bytesuint32_t reservedMostPkt5 {}std::vector< uint8_t > pktData {}β variable data
π Public Attributes inherited from Vector::BLF::ObjectHeader2
uint32_t objectFlags {ObjectFlags::TimeOneNans}β object flagsuint8_t timeStampStatus {}β time stamp statusuint8_t reservedObjectHeader {0}uint16_t objectVersion {0}β object specific versionuint64_t objectTimeStamp {0}β object timestampuint64_t originalTimeStamp {0}β original object timestamp
π§ Public Attributes inherited from Vector::BLF::ObjectHeaderBase
uint32_t signature {ObjectSignature}β signature (ObjectSignature)uint16_t headerSize {}βsizeofobject 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::ObjectHeader2
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans =
0x00000002 }
enum TimeStampStatus : uint8_t { Orig = 0x01, SwHw = 0x02, User = 0x10 }
look at those enum values, bestie. 0x01, 0x02, 0x10. hex girl summer π₯
πΈ Detailed Description πΈ
MOST_PKT2.
Message on MOST25 Packet Data Channel. that's the whole vibe check, and she passed β
β Member Function Documentation β
uint32_t Vector::BLF::MostPkt2::calculateObjectSize () const [override], [virtual]
Calculates the objectSize.
Returns object size
Reimplemented from Vector::BLF::ObjectHeaderBase. she said "i'll do it myself" π
void Vector::BLF::MostPkt2::read (AbstractFile & is) [override], [virtual]
Read the data of this object.
Parameters is β input stream
Reimplemented from Vector::BLF::ObjectHeaderBase.
void Vector::BLF::MostPkt2::write (AbstractFile & os) [override], [virtual]
Write the data of this object.
Parameters os β output stream
Reimplemented from Vector::BLF::ObjectHeaderBase.
π«Ά Member Data Documentation π«Ά
uint8_t Vector::BLF::MostPkt2::arbitration {}β Arbitration byteuint16_t Vector::BLF::MostPkt2::channel {}β application channel Application channeluint16_t Vector::BLF::MostPkt2::crc {}β Cyclic Redundancy Checkuint32_t Vector::BLF::MostPkt2::destAdr {}β Target addressuint8_t Vector::BLF::MostPkt2::dir {}β Direction of message events:0: Rx (received)1: Tx (transmit receipt)2: Tx Request (transmit request)
std::vector<uint8_t> Vector::BLF::MostPkt2::pktData {}β variable data Variable datauint32_t Vector::BLF::MostPkt2::pktDataLength {}β length of variable data in bytes Length of variable data in bytes (1014 max) β note that max, bestie,1014is the ceiling, don't come for her πuint8_t Vector::BLF::MostPkt2::priority {}β Priorityuint8_t Vector::BLF::MostPkt2::quadsToFollow {}β Number of quadletsuint8_t Vector::BLF::MostPkt2::reservedMostPkt1 {}β reserveduint8_t Vector::BLF::MostPkt2::reservedMostPkt2 {}β reserveduint8_t Vector::BLF::MostPkt2::reservedMostPkt3 {}β reserveduint16_t Vector::BLF::MostPkt2::reservedMostPkt4 {}β reserveduint32_t Vector::BLF::MostPkt2::reservedMostPkt5 {}β reserveduint32_t Vector::BLF::MostPkt2::sourceAdr {}β Source addressuint8_t Vector::BLF::MostPkt2::state {}β Transmission state0for Rx0x40for TxOk (transmit request)
uint8_t Vector::BLF::MostPkt2::timeRes {}β Obsolete member; read/write0β ok so she's obsolete, but you still gotta read/write0, no cap, don't skip her πuint8_t Vector::BLF::MostPkt2::transferType {}β Tranfer Type. Message-like events can either be recorded through the MOST transceiver chip or through a separate network spy.1: Node MOST transceiver reported the message (either due to a successful reception or as acknowledgment for a transmit request).2: Spy Message was reported by the network spy. The Spy sees all messages independently of the destination address.
hiii just a lil note: five separate reserved members, all documented as "reserved". she's mysterious. she's not telling. respect her privacy π
π Author π
Generated automatically by Doxygen for Vector BLF from the source code. (so don't come for the prose, a robot wrote the original, i just gave it a personality π)
k bye bestie, this page is from Vector BLF, page Vector::BLF::MostPkt2(3), and that's the whole manual name + version + everything β mwah π go read some bytes π¦β
π¦ 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