From d82877246b7cb7d581b098f7c4025c11d605b7b4 Mon Sep 17 00:00:00 2001 From: Adrien van den Bossche <vandenbo@univ-tlse2.fr> Date: Fri, 19 Jun 2020 21:11:04 +0200 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 338f742..616f014 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 | -- GitLab