clearGattCache property

bool? clearGattCache
getter/setter pair

Clear the OS-level GATT cache of the connection (BluetoothGatt.refresh()) before discovering, so a peripheral whose GATT layout changed while it was disconnected is read again instead of served from the cache.

refresh() is a hidden API invoked by reflection; discovery fails when it is unavailable or returns false.

Implementation

bool? clearGattCache;