fun GattConnection.getRemoteGattServiceMaybe(uuid: UUID): Maybe<BluetoothGattService>
Reactive extension function to return BluetoothGattService for given service uuid |
|
fun GattConnection.getRemoteGattServiceSingle(uuid: UUID): Single<BluetoothGattService>
Reactive extension function to return BluetoothGattService for given service uuid |
|
fun GattConnection.resetGattStateIfNecessary(t: Throwable, stateSetter: GattClientConnectionStateSetter = GattClientConnectionStateSetter()): Completable
Extension function to reset Gatt state to GattState.IDLE on GattTransactionException |