Vector::BLF::Most50Pkt(3)

πŸ“¦ version 2.4.2, in arch rolling

πŸ’– Vector::BLF::Most50Pkt(3) πŸ’–

okay so bestie, this is the Library Functions Manual page for Vector::BLF::Most50Pkt(3), and it's literally all about MOST_50_PKT. buckle up, it's giving very specific C++ energy and we're gonna keep every detail πŸ’…


🌸 NAME 🌸

Vector::BLF::Most50Pkt β€” MOST_50_PKT.

✨ SYNOPSIS ✨

#include <Most50Pkt.h>

Inherits Vector::BLF::ObjectHeader2.

🫢 Public Member Functions

  • void read (AbstractFile &is) override β€” reads the data of this object.
  • void write (AbstractFile &os) override β€” writes the data of this object.
  • uint32_t calculateObjectSize () const override β€” calculates the objectSize.

🧚 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

πŸ¦‹ Public Attributes πŸ¦‹

  • uint16_t channel {} β€” application channel.
  • uint8_t dir {} β€” direction: 0: Rx; 1: Tx; 2: TxRequest.
  • uint8_t reservedMost50Pkt1 {} β€” reserved.
  • uint32_t sourceAdr {} β€” source address.
  • uint32_t destAdr {} β€” target address.
  • uint8_t transferType {} β€” Tranfer Type.
  • uint8_t state {} β€” transmission status.
  • uint8_t ackNack {} β€” acknowledge code.
  • uint8_t reservedMost50Pkt2 {} β€” reserved.
  • uint32_t crc {} β€” Cyclic Redundancy Check.
  • uint16_t reservedMost50Pkt3 {} β€” reserved.
  • uint8_t priority {} β€” priority of the message.
  • uint8_t reservedMost50Pkt4 {} β€” reserved.
  • uint32_t pktDataLength {} β€” length of variable data in bytes (1014 max).
  • uint32_t reservedMost50Pkt5 {} β€” reserved.
  • std::vector< uint8_t > pktData {} β€” variable data.

🌈 Public Attributes inherited from Vector::BLF::ObjectHeader2

  • uint32_t objectFlags {ObjectFlags::TimeOneNans} β€” object flags.
  • uint8_t timeStampStatus {} β€” time stamp status.
  • uint8_t reservedObjectHeader {0}
  • uint16_t objectVersion {0} β€” object specific version.
  • uint64_t objectTimeStamp {0} β€” object timestamp.
  • uint64_t originalTimeStamp {0} β€” original 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::ObjectHeader2

  • enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }
  • enum TimeStampStatus : uint8_t { Orig = 0x01, SwHw = 0x02, User = 0x10 }

🌟 Detailed Description 🌟

MOST_50_PKT.

Message on MOST50 Packet Data Channel.

πŸ”₯ Member Function Documentation πŸ”₯

uint32_t Vector::BLF::Most50Pkt::calculateObjectSize () const [override], [virtual]

Calculates the objectSize.

Returns: object size.

Reimplemented from Vector::BLF::ObjectHeaderBase.

void Vector::BLF::Most50Pkt::read (AbstractFile & is) [override], [virtual]

Read the data of this object.

Parameters: is input stream.

Reimplemented from Vector::BLF::ObjectHeaderBase.

void Vector::BLF::Most50Pkt::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::Most50Pkt::ackNack {}

acknowledge code AckNack holds the transmit status of a control message (see Transmit Status Register of OS8104 for MOST25).

  • Bit 0: Meaning:
    • 1: no response (NoResp) Restriction:
      • only for Dir = Tx or spy messages
  • Bit 1: Meaning:
    • 1: valid receipt (Valid) Restriction:
      • only for Dir = Tx or spy messages
  • Bit 2: Meaning:
    • 1: CRC Error (CRCError) Restriction:
      • only for Dir = Tx or spy messages
  • Bit 3: Meaning:
    • 1: receive buffer full (RxBufFull) Restriction:
      • only for Dir = Tx or spy messages
  • Bit 4: Meaning:
    • 1: acknowledged (Ack) Restriction:
      • only for Dir = Tx or spy messages (always set to 1 for Rx messages in node mode)
  • Bit 5: Meaning:
    • 1: negative acknowledge (NAck) Restriction:
      • only for Dir = Tx or spy messages

uint16_t Vector::BLF::Most50Pkt::channel {}

application channel Application channel

uint32_t Vector::BLF::Most50Pkt::crc {}

Cyclic Redundancy Check. Cyclic Redundancy Check

uint32_t Vector::BLF::Most50Pkt::destAdr {}

target address Target address

uint8_t Vector::BLF::Most50Pkt::dir {}

direction: 0: Rx; 1: Tx; 2: TxRequest Direction of message events:

  • 0: Rx (received)
  • 1: Tx (transmit receipt)
  • 2: Tx Request (transmit request)

std::vector<uint8_t> Vector::BLF::Most50Pkt::pktData {}

variable data Variable data

uint32_t Vector::BLF::Most50Pkt::pktDataLength {}

length of variable data in bytes (1014 max) Length of variable data in bytes (1014 max)

uint8_t Vector::BLF::Most50Pkt::priority {}

priority of the message Priority

uint8_t Vector::BLF::Most50Pkt::reservedMost50Pkt1 {}

reserved

uint8_t Vector::BLF::Most50Pkt::reservedMost50Pkt2 {}

reserved

uint16_t Vector::BLF::Most50Pkt::reservedMost50Pkt3 {}

reserved

uint8_t Vector::BLF::Most50Pkt::reservedMost50Pkt4 {}

reserved

uint32_t Vector::BLF::Most50Pkt::reservedMost50Pkt5 {}

reserved

uint32_t Vector::BLF::Most50Pkt::sourceAdr {}

source address Source address

uint8_t Vector::BLF::Most50Pkt::state {}

transmission status Transmission states of MOST50/150 messages and packets.

  • Bit 0: Meaning:
    • 0: bus inactive
    • 1: bus active Restriction:
      • only for Dir = Rx or mTransferType = Spy
  • Bit 4: Meaning:
    • 1: acknowledged (Ack) Restriction
      • only for mTransferType = Node and Dir = Tx (always set to 1 for Rx messages in node mode)
  • Bit 5: Meaning:
    • 1: not acknowledged (NAck) Restriction:
      • only for Dir = Tx
  • Bit 6: Meaning: Send result:
    • 0: Transmission error (TxF)
    • 1: OK Restriction:
      • only for Dir = Tx
      • only for mTransferType = Node

uint8_t Vector::BLF::Most50Pkt::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.

πŸ“ Author πŸ“

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


cute sign-off time: source/version is Vector BLF, footer title is Vector::BLF::Most50Pkt(3), and the footer date slot isn't filled in on this copy, so no invented date, bestie πŸ’œ

πŸ“¦ where this page comes from