[Question]: Do we need to call esp_ble_gattc_cache_refresh()?

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

[Question]: Do we need to call esp_ble_gattc_cache_refresh()?

Postby kolban » Sat Sep 23, 2017 6:55 pm

Looking at the new API for BLE GATT clients, I see the new esp_ble_gattc_cache_refresh() API documented here:

http://esp-idf.readthedocs.io/en/latest ... _bd_addr_t

My question is:

"Does this API have to be called after opening a connection to the BLE Server?"

It isn't clear from the documentation whether or not this is performed implicitly for you during a connection or whether we are expected to perform this request explicitly? Either way, I'd like to request that this be called out in the docs.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: Google [Bot] and 123 guests