refreshGattCache
Clears Android's cached GATT database for this peripheral, so that the next service discovery reads the services from the remote device instead of the cache. Useful when a peripheral changes its attribute table (e.g. after a firmware update) without the stack noticing.
Services already discovered for the current connection are unaffected: disconnect and connect again to discover the fresh attribute table.
Invokes the hidden BluetoothGatt.refresh() via reflection, so may stop working on a future Android release.
Return
true if the cache refresh was requested, false if the platform declined it or the hidden API was unavailable.
Throws
if invoked without an established connection.