1 Arexx Data Logger Protocol
2 ~~~~~~~~~~~~~~~~~~~~~~~~~~
3 All packets have fixed size of 64 bytes. The first byte is a packet
4 type, followed by type-dependent data.
6 Timestamps are 32-bit integers representing the number of seconds
7 since 2000-01-01 00:00:00 UTC.
9 Request packets (from the PC to the logger)
12 type 03 Request sensor data
13 The data part is probably unused.
19 Reply packets (from the logger to the PC)
22 type 00 Report sensor data
23 The data part is a sequence of tuples, each tuple
24 starts with its length.
27 u8 tuple length (0x09)
32 10-byte tuples contain one extra byte:
33 u8 signal quality (units unknown)
35 12-byte tuples for new sensors with long IDs:
36 u8 tuple length (0x0c)
41 A 0-byte tuple serves as a terminator.