Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Classes | Public Attributes
XsMessageHeader Struct Reference

Detailed Description

A message header.

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

Definition at line 149 of file xsmessage.h.

#include <xSens_MT4/xstypes/include/xsens/xsmessage.h>

Classes

union  LengthData
 Contains optional extended length of message and first byte of data buffer. More...
 

Public Attributes

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

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 154 of file xsmessage.h.

Referenced by ProtocolHandler::findMessage().

◆ m_datlen

union XsMessageHeader::LengthData XsMessageHeader::m_datlen

Referenced by expectedMessageSize().

◆ m_length

uint8_t XsMessageHeader::m_length

The length of the message.

A length of 255 means extended length is used

Definition at line 159 of file xsmessage.h.

Referenced by expectedMessageSize(), and ProtocolHandler::findMessage().

◆ m_messageId

uint8_t XsMessageHeader::m_messageId

The message ID.

See also
XsXbusMessageId

Definition at line 156 of file xsmessage.h.

Referenced by ProtocolHandler::findMessage().

◆ m_preamble

uint8_t XsMessageHeader::m_preamble

The message preamble (always 0xFA)

Definition at line 152 of file xsmessage.h.




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST