]> mj.ucw.cz Git - arexx.git/blobdiff - PROTOCOL
Home: New MQTT server
[arexx.git] / PROTOCOL
index 0c9407dc19f39fd6d8bef3d2abbbcb1c3a604b80..461e3f9fbd5350b8293bea3374f79a3b517d4389 100644 (file)
--- a/PROTOCOL
+++ b/PROTOCOL
@@ -32,4 +32,10 @@ type 00              Report sensor data
                10-byte tuples contain one extra byte:
                        u8      signal quality (units unknown)
 
+               12-byte tuples for new sensors with long IDs:
+                       u8      tuple length (0x0c)
+                       u32le   sensor ID
+                       u16be!  raw value
+                       u32le   timestamp
+
                A 0-byte tuple serves as a terminator.