Vector::BLF::Most150Pkt(3)

NAME
Vector::BLF::Most150Pkt - MOST_150_PKT.

SYNOPSIS

#include <Most150Pkt.h>

Inherits Vector::BLF::ObjectHeader2.

  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
virtual void read (AbstractFile &is)
virtual void write (AbstractFile &os)
virtual uint16_t calculateHeaderSize () const
virtual uint32_t calculateObjectSize () const

  Public Attributes
uint16_t channel {}
application channel
uint8_t dir {}
direction: 0: Rx; 1: Tx; 2: TxRequest
uint8_t reservedMost150Pkt1 {}
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 reservedMost150Pkt2 {}
uint32_t crc {}
Cyclic Redundancy Check.
uint8_t pAck {}
a preemptive acknowledge code
uint8_t cAck {}
CRC acknowledge from the packet receiver(s) to the packet transmitter.
uint8_t priority {}
priority of the message
uint8_t pIndex {}
packet index, increments per message on MOST
uint32_t pktDataLength {}
length of variable data in bytes (1014 max)
uint32_t reservedMost150Pkt3 {}
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_150_PKT. Message on MOST150 Packet Data Channel.

Member Function Documentation

  uint32_t Vector::BLF::Most150Pkt::calculateObjectSize () const [override], [virtual]
Calculates the objectSize

Returns
    object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

  void Vector::BLF::Most150Pkt::read (AbstractFile & is) [override], [virtual]
Read the data of this object

Parameters
    is input stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

  void Vector::BLF::Most150Pkt::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::Most150Pkt::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

  uint8_t Vector::BLF::Most150Pkt::cAck {}

CRC acknowledge from the packet receiver(s) to the packet transmitter. CRC acknowledge from the packet receiver(s) to the packet transmitter (spy only)

•   0x00: No Response

•   0x01: CRC error

•   0x04: OK

  uint16_t Vector::BLF::Most150Pkt::channel {}

application channel Application channel

  uint32_t Vector::BLF::Most150Pkt::crc {}

Cyclic Redundancy Check. Cyclic Redundancy Check

  uint32_t Vector::BLF::Most150Pkt::destAdr {}

target address Target address

  uint8_t Vector::BLF::Most150Pkt::dir {}

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

•   0: Rx (received)

•   1: Tx (transmit receipt)

•   2: Tx Request (transmit request)

  uint8_t Vector::BLF::Most150Pkt::pAck {}

a preemptive acknowledge code Pre-emptive acknowledge code (spy only)

•   0x00: No Response

•   0x01: Buffer full

•   0x04: OK

  uint8_t Vector::BLF::Most150Pkt::pIndex {}

packet index, increments per message on MOST Packet index, increments per message on MOST

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

variable data Variable data

  uint32_t Vector::BLF::Most150Pkt::pktDataLength {}

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

  uint8_t Vector::BLF::Most150Pkt::priority {}

priority of the message Priority (not used; write 0x00)

  uint8_t Vector::BLF::Most150Pkt::reservedMost150Pkt1 {}
reserved

  uint8_t Vector::BLF::Most150Pkt::reservedMost150Pkt2 {}
reserved

  uint32_t Vector::BLF::Most150Pkt::reservedMost150Pkt3 {}
reserved

  uint32_t Vector::BLF::Most150Pkt::sourceAdr {}

source address Source address

  uint8_t Vector::BLF::Most150Pkt::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::Most150Pkt::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 desti-nation address.

Author

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