espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
12.89k stars 7.08k forks source link

no documentation on how to wake up esp32-s3 from light sleep using bluetooth (IDFGH-8950) #10362

Open jonathanMerlingPal opened 1 year ago

jonathanMerlingPal commented 1 year ago

Answers checklist.

General issue report

Hi,

I'm using ESP32-S3-Eye and I would like to put the device in light sleep with bt_wakeup. I noticed there is the function esp_sleep_enable_bt_wakeup(); which returned ESP_OK; but I don't know how to proceed from here since there is no documentation or examples using it.

I've tried: Connecting the device to a Ble server and registering for notification. The result is that the device doesn't wakeup from light sleep when the server sends notification.

Is there any documentation/example on how to wake up a device from light sleep using Bluetooth?

esp-cjh commented 4 months ago

@jonathanMerlingPal Please refer to the following documents: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/system/sleep_modes.html