Main MRPT website > C++ reference for MRPT 1.5.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 112 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
 Data or length and data. More...
 

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

Referenced by ProtocolHandler::findMessage().

◆ m_datlen

union XsMessageHeader::LengthData XsMessageHeader::m_datlen

Data or length and data.

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

Referenced by ProtocolHandler::findMessage().

◆ m_preamble

uint8_t XsMessageHeader::m_preamble

The message preamble (always 0xFA)

Definition at line 113 of file xsmessage.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020