Skip to content
Snippets Groups Projects
Commit 502c3daa authored by Adrien van den Bossche's avatar Adrien van den Bossche
Browse files

Update README.md

parent 7676a4a3
Branches
No related tags found
No related merge requests found
......@@ -64,8 +64,9 @@ LocaPack is available as a Node-RED Palette, ie a collection of nodes to produce
### JSON messages
LocaPack messages are also available in JSON. Example of a Universal GNSS localisation packet:
LocaPack messages are also available in JSON.
Example of a Universal GNSS localisation packet:
```json
{
"header": {
......@@ -92,6 +93,37 @@ LocaPack messages are also available in JSON. Example of a Universal GNSS locali
}
```
Example of a Locally Referenced localisation packet:
```json
{
"LocaPack": {
"header": {
"protocol_version": 1,
"device_id_size": 2,
"packet_type": 2,
"movement_id_presence_flag": false,
"timestamp_presence_flag": true
},
"sequence_number": 163,
"timestamp": 1630289,
"device_id": 124,
"payload": [224,0,0,128,63,0,0,0,64,0,0,64,64,0,0,128,64,136,119,102,85,68,51,34,17],
"locallyReferencedPacket": {
"header": {
"z_presence_flag": true,
"dop_presence_flag": true,
"frameofref_id_presence_flag": true
},
"x": 1,
"y": 2,
"z": 3,
"dop": 4,
"frameofref_id": 9833440827789222000
}
}
}
```
## License
Locapack is distributed under the GPLv3 license. Please refer to the `LICENSE` file.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment