bieli / IoText-data-protocol

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

Fast data series measurements with low latency (e.g. from an earthquake device or from electronic's labs equipment) #18

Open bieli opened 12 months ago

bieli commented 12 months ago

It will be good if we can send measurements by IoText data protocol fast changed values e.g. 10 milliseconds or 100 ms.

For example, from an earthquake device, it's not optimal to send multiple data rows. It will be fine to send one data row with a wide range of measurements.

Proposal for IoText data protocol upgrade:

R|12356556567666=d:100ms,d|axel01,m|X=d:1.09877;1.6777;1.2445;1.2233;1.286655;1.76544,m|Y=d:0.09877;0.6777;0.2445;1.2233;1.286655;0.76544,m|Z=d:1.19877;1.2777;1.5445;1.4233;1.286655;1.06544

Special command R gives us the possibility to add a timestamp in millis for the start point of our data items and delta offset for sending measurements. It it's optimalisation required for specific use cases.

bieli commented 4 months ago

Similar feature was already implemented (without time offset definition and "R" special code) in this change request: https://github.com/bieli/IoText-data-protocol/issues/24 - gives us possibility to store a list of values in IoText data protocol