Classes | Public Attributes | List of all members
XsMessageHeader Struct Reference

A message header. More...

#include <xsmessage.h>

Classes

union  LengthData
 

Public Attributes

uint8_t m_busId
 The bus ID. More...
 
union XsMessageHeader::LengthData m_datlen
 Data or length and data. More...
 
uint8_t m_length
 The length of the message. More...
 
uint8_t m_messageId
 The message ID. More...
 
uint8_t m_preamble
 The message preamble (always 0xFA) More...
 

Detailed Description

A message header.

This structure is used to interpret the header of a message.

Definition at line 169 of file xsmessage.h.

Member Data Documentation

◆ m_busId

uint8_t XsMessageHeader::m_busId

The bus ID.

See also
XS_BID_MASTER XS_BID_BROADCAST XS_BID_MT

Definition at line 172 of file xsmessage.h.

◆ m_datlen

union XsMessageHeader::LengthData XsMessageHeader::m_datlen

Data or length and data.

◆ m_length

uint8_t XsMessageHeader::m_length

The length of the message.

A length of 255 means extended length is used

Definition at line 174 of file xsmessage.h.

◆ m_messageId

uint8_t XsMessageHeader::m_messageId

The message ID.

See also
XsXbusMessageId

Definition at line 173 of file xsmessage.h.

◆ m_preamble

uint8_t XsMessageHeader::m_preamble

The message preamble (always 0xFA)

Definition at line 171 of file xsmessage.h.


The documentation for this struct was generated from the following file:


xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:22