Page 1 of 1

BTA_DISABLE_DELAY set to 200 ms

Posted: Fri Sep 07, 2018 4:56 am
by pwiner99
When I execute this code

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...
}
The esp_bluedroid_disable call gives me a warning about BTA_DISABLE_DELAY being set
  • W (7438) BT_APPL: bta_dm_disable BTA_DISABLE_DELAY set to 200 ms
Do I need to handle this by getting the bluedroid status and waiting till it is disabled?
I would rather not wait 200ms to go to sleep. Any options here to speed it up?

Thanks!

Re: BTA_DISABLE_DELAY set to 200 ms

Posted: Thu Sep 20, 2018 2:50 pm
by StefanS
I have this problem too.
Is there any solution to prevent this message?
Thank you