From d593dfd7594d5493b3a92cb930f869f4e2cc1cff Mon Sep 17 00:00:00 2001 From: adrien balleyguier Date: Tue, 2 Jun 2026 10:46:39 +0200 Subject: [PATCH] feat(nodes): setting the fastest BLE advertising frequency to 1 minute instead of 2 This is motivated by the measure period by the css811 sensor, which is 1 minute and cannot be set to 2. Hence, we adverstise every minute to avoid trashing half of the measurements --- nodes/src/supervisor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/src/supervisor.c b/nodes/src/supervisor.c index 66d0583..bd328e3 100644 --- a/nodes/src/supervisor.c +++ b/nodes/src/supervisor.c @@ -1,6 +1,6 @@ #include "supervisor.h" -const int SLEEP_GRANULARITY = 2; // [min] +const int SLEEP_GRANULARITY = 1; // [min] const int SLEEP_MIN_DURATION = SLEEP_GRANULARITY; // [min] const int SLEEP_MAX_DURATION = 30; // [min]