Open n1tr0-5urf3r opened 1 month ago
Please try the bthome.stop() before going in deepsleep and report back
Hi Chris, thanks for the quick reply! I am already calling bthome.stop() in the sendBLEAdvertisement() function.
Oh sorry, you are absolute right. I will try to investigate that
Hi all!
I am building a simple water sensor that reads a water level from a touch PIN, packs the result into a BLEAdvertisement and goes into deep sleep. However, during deep sleep the consumption is at 90mA which is way to high. Without the
bthome.begin(DEVICE_NAME, false, "", false);
call, I am at 10.5 mA consumption in deep sleep, so initializing the BLE device seems to be the issue. I already tried a few things to disable BLE before going to deep sleep (see below), but nothing seems to work. Any ideas?Code: