| Class | Description |
|---|---|
| BleGattOperationType |
| Exception | Description |
|---|---|
| BleAdapterDisabledException | |
| BleAlreadyConnectedException |
An exception being emitted from an
io.reactivex.Observable returned by the function
RxBleDevice.establishConnection(boolean) or other establishConnection() overloads when this kind
of observable was already subscribed and RxBleConnection is currently being established or active. |
| BleCannotSetCharacteristicNotificationException | |
| BleCharacteristicNotFoundException |
An exception being emitted from
RxBleDeviceServices.getCharacteristic(UUID) or any
RxBleConnection function that accepts UUID in case the said UUID is not found
in the discovered device services. |
| BleConflictingNotificationAlreadySetException |
An exception being emitted from
RxBleConnection.setupNotification(UUID)/
RxBleConnection.setupIndication(UUID) or overloads in case when an opposite
type (indication/notification) was already set. |
| BleDescriptorNotFoundException | |
| BleDisconnectedException |
Exception emitted when the BLE link has been disconnected either when the connection was already established
or was in pending connection state.
|
| BleException |
Base class of exceptions in this project.
|
| BleGattCallbackTimeoutException |
This exception is used when a call on a
BluetoothGatt has returned true (succeeded) but the corresponding
BluetoothGattCallback callback was not called after a certain time (usually 30 seconds)
which is considered a Android OS BLE Stack misbehaviour |
| BleGattCannotStartException |
An exception emitted from
RxBleConnection functions when the underlying BluetoothGatt
returns `false` from BluetoothGatt.readRemoteRssi() or other functions associated with device interaction. |
| BleGattCharacteristicException |
An exception being emitted from
RxBleConnection.readCharacteristic(BluetoothGattCharacteristic)
or other characteristic related observables when the BluetoothGattCallback is called with status other than
BluetoothGatt.GATT_SUCCESS |
| BleGattDescriptorException | |
| BleGattException |
Exception emitted when the BLE link has been interrupted as a result of an error.
|
| BleScanException |
Exception emitted as a result of faulty scan operation.
|
| BleServiceNotFoundException |
An exception emitted from
RxBleDeviceServices or RxBleConnection
functions that take service's UUID as a param in case the service with the corresponding UUID is not found in the discovered
services. |
| Annotation Type | Description |
|---|---|
| BleCannotSetCharacteristicNotificationException.Reason | |
| BleScanException.Reason |