Code: Select all
void deep_sleep_start(void){
ESP_ERROR_CHECK(esp_wifi_stop());
ESP_ERROR_CHECK(esp_bluedroid_disable());
ESP_ERROR_CHECK(esp_bluedroid_deinit());
ESP_ERROR_CHECK(esp_bt_controller_disable());
ESP_ERROR_CHECK(esp_bt_controller_deinit());
ESP_ERROR_CHECK(esp_sleep_enable_ulp_wakeup());
esp_deep_sleep_start(); //zzz...
}
- W (7438) BT_APPL: bta_dm_disable BTA_DISABLE_DELAY set to 200 ms
I would rather not wait 200ms to go to sleep. Any options here to speed it up?
Thanks!