You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to sent BLE advertisements (on ESP32-C6) and save as much power as possible. I tried with the ESP IDF in C++ and get much better results if I use dynamic frequency scaling the FreeRTOS tickless idle feature.
Solution
It would be great if the provided Embassy executor could also go into light sleep if no task is running but wake up for sending BLE advertisements.
Alternatives
I'm not sure what the alternatives would be.
Additional context
I tried to read the C++ code and understand what is necessary to implement this feature, but I can't completely wrap my head around it. As far as I understand, it involves multiple features of the ESP: light sleep, modem sleep (which is always disabled in esp-hal), and sleep retention links (that I don't fully understand).
I'm happy to try implementing this if I have enough pointers on how it would theoretically be done. :)
The text was updated successfully, but these errors were encountered:
Motivations
I would like to sent BLE advertisements (on ESP32-C6) and save as much power as possible. I tried with the ESP IDF in C++ and get much better results if I use dynamic frequency scaling the FreeRTOS tickless idle feature.
Solution
It would be great if the provided Embassy executor could also go into light sleep if no task is running but wake up for sending BLE advertisements.
Alternatives
I'm not sure what the alternatives would be.
Additional context
I tried to read the C++ code and understand what is necessary to implement this feature, but I can't completely wrap my head around it. As far as I understand, it involves multiple features of the ESP: light sleep, modem sleep (which is always disabled in esp-hal), and sleep retention links (that I don't fully understand).
I'm happy to try implementing this if I have enough pointers on how it would theoretically be done. :)
The text was updated successfully, but these errors were encountered: