Page 1 of 1

refresh cache on gatts client

Posted: Mon Oct 23, 2017 9:56 am
by jumjum123
During testing of an BLE application, UUIDs are changed from time to time.
My Android (V7) caches theses UUIDs, and I've to clear cache. Most of the time, I forget .....
Is there a way to tell my Android to refresh UUIDS ?
Tried to call gatt_set_srv_chg(); after change of UUID, without success.
Any idea what to do ?

Re: refresh cache on gatts client

Posted: Mon Oct 23, 2017 7:05 pm
by Lucas.Hutchinson
There is a services changed service/characteristic that is provided by the esp32 stack.

I am not 100% sure that it is exactly what you are looking for, but from my understanding this can be used to inform a Client that the services have been changed. However since i have never used it i am not sure how it is to be used, or how it works.