BTA_DISABLE_DELAY set to 200 ms

pwiner99
Posts: 8
Joined: Tue Jun 05, 2018 1:51 pm

BTA_DISABLE_DELAY set to 200 ms

Postby pwiner99 » Fri Sep 07, 2018 4:56 am

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!

StefanS
Posts: 10
Joined: Sat Jul 07, 2018 1:12 pm

Re: BTA_DISABLE_DELAY set to 200 ms

Postby StefanS » Thu Sep 20, 2018 2:50 pm

I have this problem too.
Is there any solution to prevent this message?
Thank you

Who is online

Users browsing this forum: Bing [Bot], dzungpv and 48 guests