From 72719d0bca3ee36cbd6806f2dc7f8d24c7237f19 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 27 Apr 2018 11:37:46 +0200 Subject: [PATCH] Documented the protocol with 32-bit IDs --- PROTOCOL | 6 ++++++ README | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/PROTOCOL b/PROTOCOL index 0c9407d..461e3f9 100644 --- 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 c2e400a..03ad357 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ Arexx Data Logger Daemon - (c) 2011--2012 Martin Mares + (c) 2011--2018 Martin Mares You can use and distribute this program under the terms of GPLv2. -- 2.39.2