Low power BLE advertising?
Posted: Tue Feb 28, 2017 9:17 am
I'm trying to have an ESP32 use deepsleep to save power and wake up regularly to broadcast a BLE advertising message. It mostly works but there is some delay when waking up before the advertising message gets sent, so the ESP32 needs to stay awake for several seconds to have the message sent reliably, which uses a lot of power.
Are there some API parameters I could tweak to get the advertising message sent right away and to get notified right after them message is sent?
I'm using the ESP32/Arduino code but that just uses the IDF API's - https://github.com/espressif/arduino-es ... E.cpp#L258
My code is here: https://developer.ibm.com/recipes/tutor ... and-watson
Thanks for any tips.
Are there some API parameters I could tweak to get the advertising message sent right away and to get notified right after them message is sent?
I'm using the ESP32/Arduino code but that just uses the IDF API's - https://github.com/espressif/arduino-es ... E.cpp#L258
My code is here: https://developer.ibm.com/recipes/tutor ... and-watson
Thanks for any tips.