Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 15f1de8

Browse files
committedJan 5, 2025·
added example of data packing
1 parent 7a50b91 commit 15f1de8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 
Loading

‎docs/data_encoding.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ So for a 11 byte LoRaWAN Payload buffer, the contents could be (note a Value Typ
4747
* \[ **Value Type**][**Data Value** *{2 bytes}*]\[ **Value Type**][**Data Value** *{4 bytes}*]\[**empty** {3 byte}] = **8 bytes used***
4848
* \[ **Value Type**][**Data Value** *{2 bytes}*]\[ **Value Type**][**Data Value** *{4 bytes}*]\[ **Value Type**][**Data Value** *{2 bytes}*] = **11 bytes used**
4949

50+
The following example uses *verbose* output from a data collection and send event to show how the data is packed:
51+
52+
![Packing in Action](assets/img/advanced-data-encoding-output.png)
53+
54+
In this image, the Value Type IDs and encoded for each value is highlighted individually and as part of the packed data payload.
55+
5056
The general payload packing is as follows:
5157

5258
### *Initial Condition*

0 commit comments

Comments
 (0)
Please sign in to comment.