From 66a76abaf2158ff202d23e32b910e90ef74f540d Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Sat, 28 Aug 2021 16:51:03 -0500 Subject: [PATCH] Add advised duration and time between reading (#1069) --- platformio.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index 656b281..7435adc 100644 --- a/platformio.ini +++ b/platformio.ini @@ -406,8 +406,9 @@ build_flags = '-DLED_SEND_RECEIVE_ON=0' '-DGateway_Name="OpenMQTTGateway_LOLIN32LITE_BLE"' ;; Low power parameters, uncomment and fill credentials -; '-DDEFAULT_LOW_POWER_MODE=0' -; '-DTimeBtwRead=550000' +; '-DDEFAULT_LOW_POWER_MODE=2' +; '-DTimeBtwRead=155000' +; '-DScan_duration=2000' ; '-DAttemptBLECOnnect=false' ; '-DActiveBLEScan=false' ; '-DESPWifiManualSetup=true'