Skip to content

Releases: NordicSemiconductor/Android-BLE-Library

2.6.0 alpha 1

29 Sep 14:59
0a691f8
Compare
Choose a tag to compare
2.6.0 alpha 1 Pre-release
Pre-release

Alpha

This is an alpha 1 release. All new features seems to be working, but more testing is needed. Please test and give us a feedback.

What's Changed

Full Changelog: 2.5.1...2.6.0-alpha01

Android BLE Library v 2.5.1

07 Jun 13:19
60b8b90
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.5.0...2.5.1

Android BLE Library v 2.5.0

03 Jun 14:11
Compare
Choose a tag to compare

New features

What's Changed

Full Changelog: 2.4.1...2.5.0

Android BLE Library v 2.4.1

10 May 11:57
aeb190a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.4.0...2.4.1

Android BLE Library v 2.4.0

22 Mar 15:10
0110295
Compare
Choose a tag to compare

Finally, we released the stable version 2.4.0 of the Android BLE Library. It contains lots of improvements and bug fixes.
The main changes are:

  • More Kotlin extensions in the ble-ktx module.

    Now, apart from suspend() method, which returns Data for ReadRequest and WriteReqeust (client side) and WaitForValueChangedRequest and WaitForReadRequest (server side), you may use suspendForResponse() and suspendForValidResponse() which return an object extending ReadResponse or WriteResponse.
    The notifications and indications can also be collected as response Flow using new asResponseFlow() and asValidResponseFlow().
    With #371 merged it is also possible to get progress indications as flow for outgoing packets using a splitter and incoming packets using a merger. Use splitWithProgressFlow(Splitter) or mergeWithProgressFlow(Merger).

  • #352 added support for Big Endian encoding in the Data class to make writing and reading values easier. #353 has deprecated FORMAT_xxx constants in favor of FORMAT_xxx_LE or FORMAT_xxx_BE.

  • #370 allowed to filter fully merged packets. Previously, the filter(...) option allowed to filter incoming packets before they were given to the merger. The new filterPacket(...) does similar thing, but with complete, merged, received packet.

  • And, as usual, reported bugs were fixed.

What's Changed since beta 3

Full Changelog: 2.4.0-beta03...2.4.0

Android BLE Library v 2.4.0 beta 3

18 Mar 15:48
3d8ed63
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: 2.4.0.beta02...2.4.0-beta03

Android BLE Library v 2.4.0 beta 2

16 Feb 14:37
b5e9580
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: 2.4.0-beta01...2.4.0.beta02

Post Scriptum

Sorry for naming the version with a dot instead of a dash. Mind, it's 2.4.0.beta02, not 2.4.0-beta02. Next time the dash will return!

Android BLE Library v 2.4.0 beta 1

02 Feb 15:51
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Added support for passkey on pairing request by @0xMyon in #320
  • Option to filter logs by priority by @philips77 in #348
    • The new version will by default log level INFO and higher. See #348 to check how to restore previous behavior.
  • Possible NPE fixed by @philips77 in #350
  • Trying to discover services despite initial bonding failure by @philips77 in #351
  • Improvement: More ktx extensions by @philips77 in #349
  • Improvement: Big Endian format types added by @philips77 in #352
  • Deprecating FORMAT_xxx in favor of FORMAT_xxx_LE by @philips77 in #353

New Contributors

Full Changelog: 2.3.1...2.4.0-beta01

Android BLE Library v 2.3.1

23 Sep 12:08
Compare
Choose a tag to compare

This version introduces the following changes:

  • Making ObservableBleManager public (#321 which fixes #309).
  • Disabling indications fixed (#322 which fixes #316).
  • Skipping processing requests when MTU changed before services were discovered (#323).
  • Adding write type param to writeCharacteristic methods (#324 which fixes #317).

Android BLE Library v 2.3.0

30 Aug 08:33
Compare
Choose a tag to compare

Main changes:

  • Added support for Kotlin in new :ble-ktx module.
  • :ble-livedata module is converted to Java, as :ble-ktx added support for Flow.
  • JsonMerger added, which combines incoming notifications/indications/incoming write requests (as server).
  • Multiple issues fixed.

Detailed changes:

  • Improve the handling of ConnectRequests to bonded devices w/ autoConnect=true (#253)
  • Fix README (#222, #275)
  • Update connectGatt version logic to handle bug specifically in API 26 (#248)
  • Introduces a GATT server example (#234)
  • Introduces a GATT client example (#238)
  • Remove outdated documentation on getGattCallback() (#277)
  • Bug fix: Reset MTU to 23 on disconnect (#249)
  • Bug fix: setting state to disconnected after Bluetooth goes OFF, of device bond info is removed (#278)
  • Bug fix for #273, and possibly #241 and #120
  • Bug fix: Service discovery is called twice even if they discovered successfully (for some phones) (#279)
  • Bug fix: ConnectionObserver.onDeviceDisconnected() can never report REASON_TERMINATE_PEER_USER (#284)
  • Bug fix: Connection failed with different reason than onDisconnected callback. (#257)
  • Bug fix: Crash in enqueue() (#252)
  • Improvement: Adding option to cancel pending connection (#292)
  • Improvement: Adding "then" callback to Requests (#293)
  • New feature: JsonMerger added, which will combine multiple packets until full JSON object or array is received 158bc9b
  • New feature: support for onServiceChanged callback (API 31) 2ed10f7
  • Improvement: Migration to Android Studio 4.2.x and Maven Central (#296)
  • Breaking: :ble-livedata migrated to Java a74c983
  • Added support for Kotlin (coroutiones and flow) in :ble-ktx module (#297)