2.0.0-alpha15
TL;DR
This version fixed the MTU request when the connection was made with automaticallyRequestHighestValueLength flag:
centralManager.connect(
peripheral,
options = CentralManager.ConnectionOptions.Direct(
automaticallyRequestHighestValueLength = true
)
)
Also, a onSubscription callback was added to RemoteCharacteristic.subscribe() method.
Read more in the documentation: https://nordicsemiconductor.github.io/Kotlin-BLE-Library/html/client-core/no.nordicsemi.kotlin.ble.client/-remote-characteristic/subscribe.html
What's Changed
- Bugfix: Automatic MTU reqeust fixed by @philips77 in https://github.com/NordicSemiconductor/Kotlin-BLE-Library/pull/259
- Adding
onSubscriptioncallback tosubscribe()to notify when notifications are ready by @philips77 in https://github.com/NordicSemiconductor/Kotlin-BLE-Library/pull/260
Other
- Documentation by @philips77 in https://github.com/NordicSemiconductor/Kotlin-BLE-Library/pull/261
- Update dependency fastlane to v2.232.1 by @renovate[bot] in https://github.com/NordicSemiconductor/Kotlin-BLE-Library/pull/258
Full Changelog: https://github.com/NordicSemiconductor/Kotlin-BLE-Library/compare/2.0.0-alpha14...2.0.0-alpha15