Merge "Reduce blocking time when waiting for CharacteristicWrite queue to clear up."

This commit is contained in:
Treehugger Robot
2022-01-05 21:13:56 +00:00
committed by Gerrit Code Review

View File

@@ -87,7 +87,7 @@ public final class BluetoothGatt implements BluetoothProfile {
private static final int CONN_STATE_CLOSED = 4; private static final int CONN_STATE_CLOSED = 4;
private static final int WRITE_CHARACTERISTIC_MAX_RETRIES = 5; private static final int WRITE_CHARACTERISTIC_MAX_RETRIES = 5;
private static final int WRITE_CHARACTERISTIC_TIME_TO_WAIT = 1000; // milliseconds private static final int WRITE_CHARACTERISTIC_TIME_TO_WAIT = 10; // milliseconds
private List<BluetoothGattService> mServices; private List<BluetoothGattService> mServices;