-
public interface ClientOperationQueueInterface used for serialization of Operation execution. Native Android BLE API is asynchronous but does not queue operations on it's own. Operations like scanning, connecting, reading, writing in order to be successfully started need to be serialized at different levels. i.e. When dealing with a android.bluetooth.BluetoothGatt each read and write needs to be synchronized but changing connection priority does not. i.e.2 When starting to connect the android.bluetooth.BluetoothGatt the Android Stack does queue direct connections internally but due to a bug the callback may not be called — serializing connection establishment does allow for proper timeout management in this case