]> mj.ucw.cz Git - arexx.git/commitdiff
Documented the protocol with 32-bit IDs
authorMartin Mares <mj@ucw.cz>
Fri, 27 Apr 2018 09:37:46 +0000 (11:37 +0200)
committerMartin Mares <mj@ucw.cz>
Fri, 27 Apr 2018 09:37:46 +0000 (11:37 +0200)
PROTOCOL
README

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.
diff --git a/README b/README
index c2e400a40a3ef75259cf188549e317d75b2dc032..03ad357bc46a2e2c1768c49535fcf2f72172a08f 100644 (file)
--- a/README
+++ b/README
@@ -2,7 +2,7 @@
 
                            Arexx Data Logger Daemon
 
-                   (c) 2011--2012 Martin Mares <mj@ucw.cz>
+                   (c) 2011--2018 Martin Mares <mj@ucw.cz>
 
        You can use and distribute this program under the terms of GPLv2.