mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
Merge branch 'bugfix/btdm_gattc_refresh_cache_does_not_work_properly' into 'master'
component /bt: using esp_ble_gattc_cache_refresh() does not work when open event callback See merge request !864
This commit is contained in:
commit
a18032fe80
@ -1017,6 +1017,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