GNSS Compass Reference Manual
Page 42 of 85
Version 1.1
13/01/2021
10 Advanced Navigation Packet Protocol
The Advanced Navigation Packet Protocol (ANPP) is a binary protocol designed with high error
checking, high efficiency and safe design practices. It has a well defined specification and is very
flexible. It is used across all existing and future Advanced Navigation products. There is an SDK
available for download from the website with code examples.
10.1
Data Types
The following data types are used in the packet protocol. All data types in the protocol are little
endian byte ordering.
Abbreviation
Bytes
Also known as
u8
1
unsigned char, unsigned byte, uint8_t
s8
1
char, byte, int8_t
u16
2
unsigned short, uint16_t
s16
2
short, int16_t
u32
4
unsigned int, unsigned long, uint32_t
s32
4
int, long, int32_t
u64
8
unsigned long long, uint64_t
s64
8
long long, int64_t
fp32
4
float
fp64
8
double
Table 24: Data type abbreviations used in the ANPP
10.2
Packet Structure
The ANPP packet structure is shown in Table 25 and the header format is shown in Table 26.
Example code can be downloaded from the software section.
Header
Header LRC
Packet ID
Packet Length
CRC16
Packet Data
Table 25: ANPP Packet Structure
All manuals and user guides at all-guides.com