esp32 nimble : skip discovery

alb702
Posts: 14
Joined: Tue Dec 07, 2021 3:31 am

esp32 nimble : skip discovery

Postby alb702 » Thu Apr 10, 2025 9:50 am

Hello.

My system consist of two devices, used Bluetooth (BLE).

Peripherial device is have one sеrvice and three characteristic. Central device on ESP32-C3, battery powered.
Need periodically data exchange between devices. Due high power consumption of ESP32-C3 in light sleep mode:
- i don't found any success story of power consumptions at this, which accorded to datasheet - i need to use
deep sleep mode.

A "duty cycle" is :
- out from sleep mode;
- connect;
- data exchange;
- go to sleep mode.

Used nimble stack.

A connection and data exchange take time together no more 0.5 second. But discovery stage before data
exchange is ~ 2 second.

Is possible to create and init necessary nimble variables instead discovery stage, to reduce active mode time?

Who is online

Users browsing this forum: Baidu [Spider], GPTBot, PerplexityBot and 1 guest