Version 1.3.0 released
This commit is contained in:
parent
3513546134
commit
7ee2dc1005
10
README.md
10
README.md
|
@ -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:
|
The compat library may be found on jcenter and Maven Central repository. Add it to your project by adding the following dependency:
|
||||||
|
|
||||||
```Groovy
|
```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:
|
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
|
#### Legacy DFU
|
||||||
|
|
||||||
* **SDK 4.3.0** - First version of DFU over Bluetooth Smart. DFU supports Application update.
|
* **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** - 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.
|
- 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 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.
|
* **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
|
- 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
|
#### Secure DFU
|
||||||
|
|
||||||
* **SDK 12.0.0** - New Secure DFU has been released. Buttonless service is experimental.
|
* **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.
|
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,
|
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)
|
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.
|
Check platform folders for mode details about compatibility for each library.
|
||||||
|
|
||||||
|
|
|
@ -7,10 +7,10 @@ buildscript {
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.3.0'
|
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
|
// 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-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
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
|
|
@ -15,7 +15,7 @@ apply plugin: 'com.jfrog.bintray'
|
||||||
ext {
|
ext {
|
||||||
PUBLISH_GROUP_ID = 'no.nordicsemi.android'
|
PUBLISH_GROUP_ID = 'no.nordicsemi.android'
|
||||||
PUBLISH_ARTIFACT_ID = 'dfu'
|
PUBLISH_ARTIFACT_ID = 'dfu'
|
||||||
PUBLISH_VERSION = '1.2.0'
|
PUBLISH_VERSION = '1.3.0'
|
||||||
|
|
||||||
bintrayRepo = 'android'
|
bintrayRepo = 'android'
|
||||||
bintrayName = 'dfu-library'
|
bintrayName = 'dfu-library'
|
||||||
|
@ -46,8 +46,8 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 18
|
minSdkVersion 18
|
||||||
targetSdkVersion 25
|
targetSdkVersion 25
|
||||||
versionCode 10
|
versionCode 11
|
||||||
versionName "1.2.0"
|
versionName "1.3.0"
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
|
Loading…
Reference in New Issue