Vector::BLF::MostCtrl(3)

πŸ“¦ version 2.4.2, in arch rolling

πŸ’– Vector::BLF::MostCtrl β€” MOST_CTRL πŸ’–

okay so bestie, welcome to the Library Functions Manual page for Vector::BLF::MostCtrl, and it is literally all about MOST_CTRL. No cap. πŸ’…


🌸 NAME 🌸

Vector::BLF::MostCtrl β€” MOST_CTRL.

✨ SYNOPSIS ✨

#include <MostCtrl.h>

Inherits Vector::BLF::ObjectHeader. Slay. 🫢

πŸŽ€ 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
  • uint8_t dir {}
  • uint8_t reservedMostCtrl1 {}
  • uint32_t sourceAdr {}
  • uint32_t destAdr {}
  • std::array< uint8_t, 17 > msg {}
  • uint8_t reservedMostCtrl2 {}
  • uint16_t rTyp {} β€” Control message sub type.
  • uint8_t rTypAdr {} β€” Addressing mode.
  • uint8_t state {} β€” Transmission state MOST25.
  • uint8_t reservedMostCtrl3 {}
  • uint8_t ackNack {} β€” acknowledge bits
  • uint32_t reservedMostCtrl4 {}

πŸ’œ 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 πŸ”₯

MOST_CTRL.

Message on MOST 25 Control Channel; received or transmitted in node mode.

πŸ’… Member Function Documentation πŸ’…

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

Calculates the objectSize

Returns object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

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

Read the data of this object

Parameters is β€” input stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

void Vector::BLF::MostCtrl::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::MostCtrl::ackNack {} β€” acknowledge bits. 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::MostCtrl::channel {} β€” application channel. Channel the message was sent or received.
  • uint32_t Vector::BLF::MostCtrl::destAdr {} β€” Target address.
  • uint8_t Vector::BLF::MostCtrl::dir {} β€” Direction of message events:
    • 0: Rx (received)
    • 1: Tx (transmit receipt)
    • 2: Tx Request (transmit request)
  • std::array<uint8_t, 17> Vector::BLF::MostCtrl::msg {} β€” 17 data bytes.
  • uint8_t Vector::BLF::MostCtrl::reservedMostCtrl1 {} β€” reserved.
  • uint8_t Vector::BLF::MostCtrl::reservedMostCtrl2 {} β€” reserved.
  • uint8_t Vector::BLF::MostCtrl::reservedMostCtrl3 {} β€” reserved.
  • uint32_t Vector::BLF::MostCtrl::reservedMostCtrl4 {} β€” reserved.
  • uint16_t Vector::BLF::MostCtrl::rTyp {} β€” Control message sub type. Sub type of a MOST 25 Control message (see data sheet of OS8104 also).
    • 0: Normal
    • 1: RemoteRead
    • 2: RemoteWrite
    • 3: Alloc
    • 4: Dealloc
    • 5: GetSource
    • >5: not used so far
  • uint8_t Vector::BLF::MostCtrl::rTypAdr {} β€” Addressing mode. Addressing mode of MOST25 Control messages.
    • 0x00: Device (logical node address)
    • 0x10: Node position
    • 0x20: Broadcast
    • 0x30: Groupcast
    • 0xFF: Unknown
  • uint32_t Vector::BLF::MostCtrl::sourceAdr {} β€” Source address.
  • uint8_t Vector::BLF::MostCtrl::state {} β€” Transmission state MOST25. Transmission state of a MOST25 Control message.
    • Bit 0 β€” Meaning:
      • 0: bus inactive
      • 1: bus active
      • Restriction: only for Dir = Rx (MOSTCtrl) or MOSTSpy
    • Bit 1 β€” Meaning:
      • 1: unlock event during transmission (Unl)
      • Restriction: only for Dir = Rx (MOSTCtrl) or MOSTSpy
    • Bit 4 β€” Meaning:
      • 1: acknowledged (Ack)
      • Restriction: only for 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 (MOSTCtrl)

πŸ¦‹ Author πŸ¦‹

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


🫢 okay that's the whole page, bestie! The footer source/version vibe is Vector BLF, and the page is Vector::BLF::MostCtrl(3). The footer didn't hand us a date, so I'm not inventing one β€” periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from