refresh cache on gatts client

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

refresh cache on gatts client

Postby jumjum123 » Mon Oct 23, 2017 9:56 am

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 ?

Lucas.Hutchinson
Posts: 79
Joined: Tue Apr 26, 2016 5:10 am

Re: refresh cache on gatts client

Postby Lucas.Hutchinson » Mon Oct 23, 2017 7:05 pm

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.

Who is online

Users browsing this forum: Baidu [Spider] and 142 guests