mbgtools-lx  4.2.8
MSG_HDR Struct Reference

The header of a binary message. More...

#include <gpsserio.h>

Data Fields

GPS_CMD cmd
 see GPS_CMD_CODES and GPS_CMD_CTRL_CODES More...
 
uint16_t len
 length of the data portion appended after the header More...
 
CSUM data_csum
 checksum of the data portion appended after the header More...
 
CSUM hdr_csum
 checksum of the preceding header bytes More...
 

Detailed Description

The header of a binary message.

Definition at line 1331 of file gpsserio.h.

Field Documentation

◆ cmd

◆ data_csum

CSUM MSG_HDR::data_csum

checksum of the data portion appended after the header

Definition at line 1335 of file gpsserio.h.

◆ hdr_csum

CSUM MSG_HDR::hdr_csum

checksum of the preceding header bytes

Definition at line 1336 of file gpsserio.h.

◆ len

uint16_t MSG_HDR::len

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