Version 1.3.0 released

This commit is contained in:
Aleksander Nowakowski 2017-04-07 14:36:13 +02:00
parent 3513546134
commit 7ee2dc1005
3 changed files with 11 additions and 9 deletions

View File

@ -7,7 +7,7 @@
The compat library may be found on jcenter and Maven Central repository. Add it to your project by adding the following dependency:
```Groovy
compile 'no.nordicsemi.android:dfu:1.2.0'
compile 'no.nordicsemi.android:dfu:1.3.0'
```
If you use proguard, add the following line to your proguard rules:
@ -41,8 +41,8 @@ The library is compatible with nRF51 and nRF52 devices with S-Series Soft Device
#### Legacy DFU
* **SDK 4.3.0** - First version of DFU over Bluetooth Smart. DFU supports Application update.
* **SDK 6.0.0** - DFU Bootloader supports Soft Device and Bootloader update. As the updated Bootloader may be dependent on the new Soft Device, those two may be sent and installed together.
* **SDK 6.1.0** - Buttonless update support for non-bonded devices.
* **SDK 6.1.0** - DFU Bootloader supports Soft Device and Bootloader update. As the updated Bootloader may be dependent on the new Soft Device, those two may be sent and installed together.
- Buttonless update support for non-bonded devices.
* **SDK 7.0.0** - The extended init packet is required. The init packet contains additional validation information: device type and revision, application version, compatible Soft Devices and the firmware CRC.
* **SDK 8.0.0** - The bond information may be preserved after an application update. The new application, when first started, will send the Service Change indication to the phone to refresh the services.
- Buttonless update support for bonded devices
@ -51,11 +51,13 @@ The library is compatible with nRF51 and nRF52 devices with S-Series Soft Device
#### Secure DFU
* **SDK 12.0.0** - New Secure DFU has been released. Buttonless service is experimental.
* **SDK 13.0.0** - Buttonless DFU (still experimental) uses different UUIDs. No bond sharing supported. Bootloader will use address +1.
This library is fully backwards compatible and supports both the new and legacy DFU.
The experimental buttonless DFU service from SDK 12 is supported since version 1.1.0. Due to the fact, that this experimental service is not safe,
you have to call [starter.setUnsafeExperimentalButtonlessServiceInSecureDfuEnabled(true)](https://github.com/NordicSemiconductor/Android-DFU-Library/blob/release/dfu/src/main/java/no/nordicsemi/android/dfu/DfuServiceInitiator.java#L194)
to enable it. Read the method documentation for details.
to enable it. Read the method documentation for details. It is recommended to use the Buttonless service from SDK 13 (for non-bonded devices, or 14 (when released) for bonded).
Both are supported since DFU Library 1.3.0.
Check platform folders for mode details about compatibility for each library.

View File

@ -7,10 +7,10 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
/*
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
// The following dependency has been replaced with newer version according to https://github.com/dcendents/android-maven-plugin
// classpath 'com.github.dcendents:android-maven-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
*/
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

View File

@ -15,7 +15,7 @@ apply plugin: 'com.jfrog.bintray'
ext {
PUBLISH_GROUP_ID = 'no.nordicsemi.android'
PUBLISH_ARTIFACT_ID = 'dfu'
PUBLISH_VERSION = '1.2.0'
PUBLISH_VERSION = '1.3.0'
bintrayRepo = 'android'
bintrayName = 'dfu-library'
@ -46,8 +46,8 @@ android {
defaultConfig {
minSdkVersion 18
targetSdkVersion 25
versionCode 10
versionName "1.2.0"
versionCode 11
versionName "1.3.0"
}
buildTypes {
release {