BTA_DISABLE_DELAY set to 200 ms
Posted: Fri Sep 07, 2018 4:56 am
When I execute this code
The esp_bluedroid_disable call gives me a warning about BTA_DISABLE_DELAY being set
I would rather not wait 200ms to go to sleep. Any options here to speed it up?
Thanks!
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!