mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Component /bt: using esp_ble_gattc_cache_refresh() does not work when open event callback.
This commit is contained in:
parent
96f8e0d996
commit
60d5b677e7
@ -1013,6 +1013,7 @@ void bta_gattc_disc_cmpl(tBTA_GATTC_CLCB *p_clcb, tBTA_GATTC_DATA *p_data)
|
||||
|
||||
if (p_clcb->auto_update == BTA_GATTC_DISC_WAITING) {
|
||||
/* start discovery again */
|
||||
p_clcb->auto_update = BTA_GATTC_REQ_WAITING;
|
||||
bta_gattc_sm_execute(p_clcb, BTA_GATTC_INT_DISCOVER_EVT, NULL);
|
||||
}
|
||||
/* get any queued command to proceed */
|
||||
|
Loading…
x
Reference in New Issue
Block a user