Main MRPT website > C++ reference for MRPT 1.5.5
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>


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

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

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.5 Git: e06b63dbf Fri Dec 1 14:41:11 2017 +0100 at lun oct 28 01:31:35 CET 2019