lbandrtk 2.1.0.0
lbandrtk_ubx_frame_t Union Reference

LBAND RTK Click UBX frame union object. More...

#include <lbandrtk.h>

Data Fields

uint8_t data_buf [LBANDRTK_MAX_PAYLOAD_LEN+8]
 
struct { 
 
   uint16_t   header 
 
   uint8_t   class_id 
 
   uint8_t   msg_id 
 
   uint16_t   payload_len 
 
   uint8_t   payload [LBANDRTK_MAX_PAYLOAD_LEN+2] 
 
};  
 

Detailed Description

LBAND RTK Click UBX frame union object.

UBX frame union object definition of LBAND RTK Click driver.

Field Documentation

◆ [struct]

struct { ... }

◆ class_id

uint8_t class_id

1-byte message class field. A class is a group of messages that are related to each other.

◆ data_buf

uint8_t data_buf[LBANDRTK_MAX_PAYLOAD_LEN+8]

◆ header

uint16_t header

Every frame starts with a 2-byte preamble consisting of two synchronization characters: 0xB5 and 0x62.

◆ msg_id

uint8_t msg_id

1-byte message ID field defines the message that is to follow.

◆ payload

uint8_t payload[LBANDRTK_MAX_PAYLOAD_LEN+2]

The payload field contains a variable number (= payload_len) of bytes. A 2 checksum bytes are appended to the payload buffer.

◆ payload_len

uint16_t payload_len

2-byte length field. The length is defined as being that of the payload only.


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