Java Code Examples for com.polidea.rxandroidble2.exceptions.BleDisconnectedException#UNKNOWN_STATUS
The following examples show how to use
com.polidea.rxandroidble2.exceptions.BleDisconnectedException#UNKNOWN_STATUS .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SingleResponseOperation.java From RxAndroidBle with Apache License 2.0 | 4 votes |
@Override protected BleException provideException(DeadObjectException deadObjectException) { return new BleDisconnectedException(deadObjectException, bluetoothGatt.getDevice().getAddress(), BleDisconnectedException.UNKNOWN_STATUS); }
Example 2
Source File: DisconnectOperation.java From RxAndroidBle with Apache License 2.0 | 4 votes |
@Override protected BleException provideException(DeadObjectException deadObjectException) { return new BleDisconnectedException(deadObjectException, macAddress, BleDisconnectedException.UNKNOWN_STATUS); }
Example 3
Source File: CharacteristicLongWriteOperation.java From RxAndroidBle with Apache License 2.0 | 4 votes |
@Override protected BleException provideException(DeadObjectException deadObjectException) { return new BleDisconnectedException(deadObjectException, bluetoothGatt.getDevice().getAddress(), BleDisconnectedException.UNKNOWN_STATUS); }
Example 4
Source File: ConnectOperation.java From RxAndroidBle with Apache License 2.0 | 4 votes |
@Override protected BleException provideException(DeadObjectException deadObjectException) { return new BleDisconnectedException(deadObjectException, bluetoothDevice.getAddress(), BleDisconnectedException.UNKNOWN_STATUS); }