support coex scheme

1. add bugfix of ble and add api to set max adv delay time
2. open full scan and change adv interval check in bluedroid
This commit is contained in:
baohongde
2019-12-10 23:00:44 +08:00
committed by Tian Hao
parent 3b704d2f3a
commit 99951fbcf8
16 changed files with 178 additions and 10 deletions

View File

@@ -184,7 +184,6 @@ esp_err_t esp_phy_rf_init(const esp_phy_init_data_t* init_data, esp_phy_calibrat
uint32_t phy_bt_wifi_mask = BIT(PHY_BT_MODULE) | BIT(PHY_WIFI_MODULE);
if ((s_module_phy_rf_init & phy_bt_wifi_mask) == phy_bt_wifi_mask) { //both wifi & bt enabled
coex_init();
coex_preference_set(CONFIG_SW_COEXIST_PREFERENCE_VALUE);
coex_resume();
}
}