Skip to content

Releases: dariuszseweryn/RxAndroidBle

1.4.0

13 Sep 15:42
Compare
Choose a tag to compare
  • Added native callback usage support in custom operations. You may consider this API if your implementation is performance critical. (#165)
  • Added pre-scan verification for excessive scan (undocumented Android 7.0 "feature") (#227)
  • Adjusted BleCannotSetCharacteristicNotificationException to contain the cause exception if available. RxBleConnection.setupNotification()/RxBleConnection.setupIndication() will now throw the cause of disconnection if subscribed after connection was disconnected. (#225)
  • Changed Behaviour of RxBleDevice.observeConnectionStateChanges() — does not emit initial state and reflects best BluetoothGatt state. (#50)
  • Added support for a custom Logger RxBleLog.setLogger(Logger) as alternative to Logcat (#248)
  • Added a warning log if user tries to use a characteristic against it's properties (#224)
  • Changed BehaviourBluetoothGatt is now called on a single background thread instead of the main thread (#255)
  • Decoupled command queues for different connections. (#250)

1.3.4

12 Sep 10:44
Compare
Choose a tag to compare
  • Added @Nullable annotation to RxBleDevice.getName(). (#263)
  • Fixed connection not being disconnected when DeadObjectException was raised. (#275)

1.3.3

12 Sep 10:43
Compare
Choose a tag to compare
  • Fixed scan filtering by name on API <21 (#243)
  • Fixed race condition (which would cause the library to hang) when using .first() on calls to RxBleConnection that emit a single result. (#244)

1.3.2

12 Sep 10:43
Compare
Choose a tag to compare
  • Fixed completing the Observable<byte[]> emitted by RxBleConnection.setupNotification()/RxBleConnection.setupIndication() when unsubscribed (#231)

1.3.1

12 Sep 10:43
Compare
Choose a tag to compare
  • Fixed unsubscribing from operations before onComplete()/onError() causing the library to hang. (#218)

1.3.0

12 Sep 10:43
Compare
Choose a tag to compare
  • Changed Behaviour of RxBleConnection - connection is no longer closed on individual operation errors. (#26)
  • Added partial support for API 21 BLE scan in a backwards compatible manner. (#16)
  • Added support for filtering by Manufacturer Data (#127)
  • Added RxBleClient State observing for determining what functionality of the library may work (#55)
  • Added ValueInterpreter for interpreting standardized (Bluetooth Specification) int/float/String values from byte[] (#199)
  • Added support for requesting connection priority on API 21+ (#111)

1.2.4

12 Sep 10:42
Compare
Choose a tag to compare
  • Lowered memory pressure caused by RxBleLog when logs are disabled (#212)

1.2.3

12 Sep 10:42
Compare
Choose a tag to compare
  • Fixed scan when filter with 32-bit UUID was specified (#207)
  • Fixed memory leak of scan operation (and potentially any other that would emit an infinite stream of events) (#194)
  • Lowered memory pressure when using functions that accept UUID.
  • Changed RxBleConnectionState from a class to an enum for convenience.
  • Minor optimisations to RxBleRadio queue processing time.
  • Updated RxJava to 1.3.0

1.2.2

12 Sep 10:42
Compare
Choose a tag to compare
  • Fixed visibility of UUIDUtil. Deprecated it. Introduced AdvertisedServiceUUIDExtractor helper, thanks marciogranzotto! (#184)

1.2.1

12 Sep 10:41
Compare
Choose a tag to compare
  • Added ByteArrayBatchObservable helper for splitting long byte arrays
  • Fixed behaviour in non-Bluetooth environments. (#158)
  • Fixed RxBleConnectionMock overwriting BluetoothCharacteristic value on setting notification. (#160)
  • Fixed default payload size of Long Write operation when non-standard MTU was negotiated (#161)
  • Added possibility to get the current MTU value of RxBleConnection (#166)
  • Fixed retrying of RxBleClient.scanBleDevices(UUID...), thanks BharathMG! (#174)
  • Fixed connection not being noticed as established due to a race condition (#178)
  • Fixed BleBluetoothGattCallbackTimeout macAddress being null on connection (#178)
  • Fixed disconnect operation behaviour in an edge case situation (#178)