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