From be366d5c3c0462baab5535e184c631333848b01b Mon Sep 17 00:00:00 2001 From: rbaron Date: Sat, 11 Sep 2021 12:07:10 +0200 Subject: [PATCH] Updates BLE packet payload documentation Adds the new ambient light values. --- code/b-parasite/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/b-parasite/README.md b/code/b-parasite/README.md index 185a8bb..edf8847 100644 --- a/code/b-parasite/README.md +++ b/code/b-parasite/README.md @@ -39,12 +39,13 @@ Sensor data is encoded in unsigned 16 bits (2 bytes), and whenever multiple | 6-7 | Relative air humidity, scaled from 0 (0%) to 0xffff (100%) | | 8-9 | Soil moisture, scaled from from 0 (0%) to 0xffff (100%) | | 10-15 | b-parasite's own MAC address, big-endian format | +| 16-17 | Ambient light, scaled from from 0 (dark) to 0xffff (bright) | # Supported Modules This code supports two E73 modules: * E73-2G4M08S1C (nrf2480, default) - * E73-2G4M08S1E (nrf2833) + * E73-2G4M08S1E (nrf2833) To choose for which one you want to compile, just pass PLATFORM as an env variable to make, and set it to the platform you want to use. For example, to compile for E73-2G4M08S1E: