Internet of Things data protocol - simplistic text and CSV-friendly IoT data protocol. Options: Schema-less, schema+versioning, building deltas for data values. Easy to re-use.
Apache License 2.0
0
stars
2
forks
source link
Multiple values (arrays) in one data field in IoText protocol v0 #24
General idea overview
For example, you want to send/encode array of integers like this with IoTextdata protocol:
You can optimize array syntax to below:
Idea for data type is:
I
for array of integersT
for array of stringsD
for array of decimalsB
for array of booleansOptimization for highest integers values
Additional optimization idea for integers -> convert values to HEX, for values > 999999, we can decrease -1 character per integer value.
Integer example values:
Converted to HEX values: