Vector::BLF::MostGenReg(3)

๐Ÿ“ฆ version 2.4.2, in arch rolling

๐Ÿ’– Vector::BLF::MostGenReg ๐Ÿ’–

Okay bestie, welcome to Vector::BLF::MostGenReg(3) from the Vector BLF Library Functions Manual โ€” this page is all about MOST_GENREG, and itโ€™s lowkey iconic for transceiver-register gossip. โœจ

๐ŸŒธ NAME ๐ŸŒธ

Vector::BLF::MostGenReg โ€” MOST_GENREG.

โœจ SYNOPSIS โœจ

#include <MostGenReg.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

๐Ÿฌ Public Attributes ๐Ÿฌ

  • uint16_t channel {} โ€” application channel
  • uint8_t subType {} โ€” read/write request/result
  • uint8_t reservedMostGenReg1 {}
  • uint32_t handle {} โ€” operation handle
  • uint16_t regId {} โ€” register ID
  • uint16_t reservedMostGenReg2 {}
  • uint32_t reservedMostGenReg3 {}
  • uint64_t regValue {} โ€” register value

๐ŸŒŸ 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_GENREG.

This event reports the change of an important transceiver register, like node position or node address. It can occur spontaneous or as a result of a read/write operation. Directly after measurement start, the current values of the special registers are reported even if they have not changed.

๐Ÿ› ๏ธ Member Function Documentation ๐Ÿ› ๏ธ

๐Ÿงฎ calculateObjectSize

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

Calculates the objectSize.

Returns: object size.

Reimplemented from Vector::BLF::ObjectHeaderBase.

๐Ÿ“ฅ read

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

Read the data of this object.

Parameters: is โ€” input stream.

Reimplemented from Vector::BLF::ObjectHeaderBase.

๐Ÿ“ค write

void Vector::BLF::MostGenReg::write (AbstractFile & os) [override], [virtual]

Write the data of this object.

Parameters: os โ€” output stream.

Reimplemented from Vector::BLF::ObjectHeaderBase.

๐Ÿ“ Member Data Documentation ๐Ÿ“

๐Ÿ“ channel

uint16_t Vector::BLF::MostGenReg::channel {} โ€” application channel Application channel.

๐Ÿ•น๏ธ handle

uint32_t Vector::BLF::MostGenReg::handle {} โ€” operation handle Operation handle (obsolete; write 0).

Bestie, itโ€™s literally marked obsolete โ€” the manpage says write 0. ๐Ÿ’€

๐Ÿ†” regId

uint16_t Vector::BLF::MostGenReg::regId {} โ€” register ID. IDs for identifying registers:

  • Empty = 0x0
  • NPR = 0x87: 8 bit Node Position register
  • GA = 0x89: 8 bit Group (Group Address = 0x0300 + Group)
  • NA = 0x8A: 16 bit Node Address
  • NDR = 0x8F: 8 bit Node Delay (MOST25 only)
  • MPR = 0x90: 8 bit Number of nodes with open bypass
  • MDR = 0x91: 8 bit Maximum Delay (MOST25 only)
  • SBC = 0x96: 8 bit Synchronous Bandwidth Control (SBC)
    • Synchronous Bandwidth = 4 x SBC
    • Maximum values for SBC:
      • MOST25: 15 (= 60 Bytes)
      • MOST50: 29 (= 116 Bytes)
      • MOST150: 93 (= 372 Bytes)
  • APA = 0xE8: 16 bit Alternate Packet Address (MOST25 only)
  • XTIM = 0xBE: 8 bit Transmit Retry Time
  • XRTY = 0xBF: 8 bit Number of send attempts
  • MacAdr = 0xFE: 48 bit MAC address (EUI-48, conforming to the IEEE standard; MOST150 only)

๐Ÿ’Ž regValue

uint64_t Vector::BLF::MostGenReg::regValue {} โ€” register value Register value.

๐Ÿ™ˆ reservedMostGenReg1

uint8_t Vector::BLF::MostGenReg::reservedMostGenReg1 {} โ€” reserved.

๐Ÿ™ˆ reservedMostGenReg2

uint16_t Vector::BLF::MostGenReg::reservedMostGenReg2 {} โ€” reserved.

๐Ÿ™ˆ reservedMostGenReg3

uint32_t Vector::BLF::MostGenReg::reservedMostGenReg3 {} โ€” reserved.

๐ŸŽ›๏ธ subType

uint8_t Vector::BLF::MostGenReg::subType {} โ€” read/write request/result. Operation type of a register event:

  • Unspecified = 0: unspecified (or HW does not support sub types)
  • Notify = 1: notification on register change (spontaneous)
  • ReadRequest = 2: request of a register read operation
  • WriteRequest = 3: request of a register write operation
  • ReadResult = 4: result of a register read operation
  • WriteResult = 5: result of a register write operation
  • ReadFailed = 6: register read operation failed
  • WriteFailed = 7: register write operation failed

๐Ÿ‘‘ Author ๐Ÿ‘‘

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


Cute sign-off: this is the Vector BLF page in the Library Functions Manual, source/version footer says Vector BLF, page Vector::BLF::MostGenReg(3) โ€” and the footer didnโ€™t hand us a date, so no date to report, bestie. ๐Ÿ’–โœจ

๐Ÿ“ฆ where this page comes from