diff --git a/README.md b/README.md index 338f74264460bc9ff269974ff6577ae9750f82f3..616f014c37829a0090334da6f37f0a6d1f6d75b5 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ Locapack is distributed under the GPLv3 license. Please refer to the `LICENSE` f ## Packet structure details +Message endianness is little endian. + ### Packet general structure | 2B | 2B | 0/5B | 1B (opt) | variable | 1B | variable | @@ -36,7 +38,7 @@ The `localisation_packet_payload` length depends on the `localisation_packet_typ ### Header structure -| 4b | 4b | 4b | 1b | 1b | 2b | +| MSB 4b | 4b | 4b | 1b | 1b | 2b LSB | |--------------------|------------------|----------------------------|-----------------------------|---------------------------|----------| | `protocol_version` | `device_id_size` | `localisation_packet_type` | `movement_id_presence_flag` | `timestamp_presence_flag` | reserved |