Struct Options

Struct Documentation

struct Options

Options for the Reader and Writer for encoding and decoding messages.

Public Functions

inline Options()

The default options for a u-blox message.

inline uint32_t wrapper_length()

Get the number of bytes in the header and footer.

Returns:

the number of bytes in the header and footer

Public Members

uint8_t sync_a

The sync_a byte value identifying the start of a message.

uint8_t sync_b

The sync_b byte value identifying the start of a message.

uint8_t header_length

The length of the message header in bytes (everything before the payload)

uint8_t checksum_length

The length of the checksum in bytes.