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.
Low power BLE advertising?
Re: Low power BLE advertising?
Did you get any information about the BLE Advertising power consumption?
Can the ESP advertise without the main cpu running?
Can the ESP advertise without the main cpu running?
Who is online
Users browsing this forum: No registered users and 145 guests