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

Data Type Abbreviations used in the ANPP