From ef57faeffd19b68fb502dfe573afacb4a2a073f6 Mon Sep 17 00:00:00 2001 From: philips77 Date: Tue, 26 May 2020 21:50:06 +0200 Subject: [PATCH] Version 2.9.0 --- README.md | 13 +++++++------ app/build.gradle | 4 ++-- wear/build.gradle | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d3b29963..056afb39 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,11 @@ for bidirectional text communication between devices. ### How to import to Android Studio The production version of nRF Toolbox depends on -[Android BLE Common Library](https://github.com/NordicSemiconductor/Android-BLE-Common-Library/) -(which depends on [Android BLE Library](https://github.com/NordicSemiconductor/Android-BLE-Library/)). -Both libraries are available on jcenter. +[Android BLE Library](https://github.com/NordicSemiconductor/Android-BLE-Library/) and demonstrates +use of the Android BLE Common Library (ble-common module), which provides parsers for common profiles +adopted by Bluetooth SIG. Both libraries are available on jcenter. -You may also include the BLE Library or BLE Common Library as modules. Clone the library project +You may also include the BLE Library and BLE Common Library as modules. Clone the library project to the same root folder. If you are having issue like [#40](https://github.com/NordicSemiconductor/Android-nRF-Toolbox/issues/40) @@ -66,7 +66,7 @@ different service implementation but still the `BleManager` is used to manage ea If the [useAutoConnect(boolean)](https://github.com/NordicSemiconductor/Android-BLE-Library/blob/e95a814f4c0ecd08a75e5f0e53c68e2b8dbdf70c/ble/src/main/java/no/nordicsemi/android/ble/ConnectRequest.java#L198) method returns `true` for a connection, the manager will try to reconnect automatically to the device if a link was lost. You will also be notified about a device that got away using -`onLinklossOccurred(BluetoothDevice)`. +`onDeviceDisconnected(ConnectionObserver.REASON_LINK_LOSS)`. The `BleMulticonnectProfileService` implementation, used by Proximity profile, does not save addresses of connected devices. When the service is killed it will not be able to reconnect to them after it's @@ -83,7 +83,8 @@ Such approach is not demonstrated in nRF Toolbox. At last, the `BleManager` can be accessed from a `ViewModel` (see [Architecture Components](https://developer.android.com/topic/libraries/architecture/index.html)). -Check out the [Android nRF Blinky](https://github.com/NordicSemiconductor/Android-nRF-Blinky) app for sample code. +Check out the [Android nRF Blinky](https://github.com/NordicSemiconductor/Android-nRF-Blinky) app +for sample code. ### Nordic UART Service diff --git a/app/build.gradle b/app/build.gradle index c736baf8..64424bcc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "no.nordicsemi.android.nrftoolbox" minSdkVersion 18 targetSdkVersion 29 - versionCode 76 - versionName "2.8.4" + versionCode 77 + versionName "2.9.0" resConfigs "en" vectorDrawables.useSupportLibrary = true diff --git a/wear/build.gradle b/wear/build.gradle index 0a6bf346..1db9e18d 100644 --- a/wear/build.gradle +++ b/wear/build.gradle @@ -9,7 +9,7 @@ android { applicationId "no.nordicsemi.android.nrftoolbox" minSdkVersion 23 targetSdkVersion 29 - versionCode 292847601 // target: 29, version: 2.8.4, build: 74, multi-APK: 01 + versionCode 292907701 // target: 29, version: 2.9.0, build: 77, multi-APK: 01 versionName "2.8.4" resConfigs "en" }