Skip to content

Commit 7ee2dc1

Browse files
committed
Version 1.3.0 released
1 parent 3513546 commit 7ee2dc1

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
The compat library may be found on jcenter and Maven Central repository. Add it to your project by adding the following dependency:
88

99
```Groovy
10-
compile 'no.nordicsemi.android:dfu:1.2.0'
10+
compile 'no.nordicsemi.android:dfu:1.3.0'
1111
```
1212

1313
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
4141
#### Legacy DFU
4242

4343
* **SDK 4.3.0** - First version of DFU over Bluetooth Smart. DFU supports Application update.
44-
* **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.
45-
* **SDK 6.1.0** - Buttonless update support for non-bonded devices.
44+
* **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.
45+
- Buttonless update support for non-bonded devices.
4646
* **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.
4747
* **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.
4848
- Buttonless update support for bonded devices
@@ -51,11 +51,13 @@ The library is compatible with nRF51 and nRF52 devices with S-Series Soft Device
5151
#### Secure DFU
5252

5353
* **SDK 12.0.0** - New Secure DFU has been released. Buttonless service is experimental.
54+
* **SDK 13.0.0** - Buttonless DFU (still experimental) uses different UUIDs. No bond sharing supported. Bootloader will use address +1.
5455

5556
This library is fully backwards compatible and supports both the new and legacy DFU.
5657
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,
5758
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)
58-
to enable it. Read the method documentation for details.
59+
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).
60+
Both are supported since DFU Library 1.3.0.
5961

6062
Check platform folders for mode details about compatibility for each library.
6163

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ buildscript {
77
dependencies {
88
classpath 'com.android.tools.build:gradle:2.3.0'
99
/*
10-
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7"
10+
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
1111
// The following dependency has been replaced with newer version according to https://github.com/dcendents/android-maven-plugin
1212
// classpath 'com.github.dcendents:android-maven-plugin:1.2'
13-
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
13+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
1414
*/
1515
// NOTE: Do not place your application dependencies here; they belong
1616
// in the individual module build.gradle files

dfu/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ apply plugin: 'com.jfrog.bintray'
1515
ext {
1616
PUBLISH_GROUP_ID = 'no.nordicsemi.android'
1717
PUBLISH_ARTIFACT_ID = 'dfu'
18-
PUBLISH_VERSION = '1.2.0'
18+
PUBLISH_VERSION = '1.3.0'
1919
2020
bintrayRepo = 'android'
2121
bintrayName = 'dfu-library'
@@ -46,8 +46,8 @@ android {
4646
defaultConfig {
4747
minSdkVersion 18
4848
targetSdkVersion 25
49-
versionCode 10
50-
versionName "1.2.0"
49+
versionCode 11
50+
versionName "1.3.0"
5151
}
5252
buildTypes {
5353
release {

0 commit comments

Comments
 (0)