Skip to content

Releases: NordicSemiconductor/Android-DFU-Library

DFU Library 2.0.0

18 Mar 14:02

Choose a tag to compare

Note

No changes in the library itself since version 1.12.1 beta 1.

What's Changed

  • Add separate application which uses Android library.

Full Changelog: 1.12.1-beta01...2.0.0

DFU Library 1.12.1 beta 1

08 Dec 15:06

Choose a tag to compare

Note

This is a beta version with improvements that require verification. A final version may be released afterwards with no changes.

What's Changed

  • Workaround for hard disconnect and long supervision timeout by @philips77 in #319
  • Fix the problem that resuming the upgrade may be stuck and cannot continue after the upgrade is interrupted by @dev-cqkct in #317

New Contributors

Full Changelog: 1.12.0...1.12.1-beta01

DFU Library 1.12.0

29 Oct 18:14

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.11.1...1.12.0

DFU Library 1.11.1

25 Nov 17:08
b5d587b

Choose a tag to compare

This version introduces the following change

  • Fixes #248 by adding a ScanFilter when scanning in order to receive scan results while the screen is turned off. This change was introduced from Android 8.1.0 onwards as mentioned here

DFU Library 1.11.0

28 Jul 10:54

Choose a tag to compare

Improvements:

  • Option to force scanning for bootloader after switching from application mode using Buttonless Service in Legacy DFU. By default, Legacy DFU bootloader will advertise with the same address as application, and will advertise directly, so no scanning is needed. However, as scanning for non-bonded devices advertising directly may not work on some recent phones (#234), an option has been added to allow scanning for incremented MAC. Mind, that this requires modification of your firmware (app or bootloader), to either not pass peer data from the app when doing buttonless jump, or always using MAC+1 in the bootloader).
  • More log messages here and there to make debugging easier.
  • Cancelling connection attempt using abort() is now instantaneous, and does not wait for timeout (#219).

Bugs fixed:

  • Handling a situation when Bluetooth adapter is turned off during DFU improved (#263).
  • Connection using TRANSPORT_LE mode (when available) (also #263).
  • Making sure resources are released properly (additional call of disconnect()) (78a0e92) - it is confirmed that with this fix connection handle number does not increment when multiple DFU are performed one after another.
  • Readme has been completed with an information about the need for ACCESS_FINE_LOCATION permission when scanning is required (#250).

DFU Library 1.10.4

25 Jun 09:20

Choose a tag to compare

Bugs fixed:

  • Crash in some weird circumstances, when the library loses track of what is going on (#247).
  • A workaround for DFU bootlaoder bug, when the data object cannot be executed for the second time when resuming the upload (#252 ).

DFU Library 1.10.3

26 May 13:28

Choose a tag to compare

Bugs fixed:

  • ZIP file parsing error fixed (#237).

DFU Library 1.10.2

13 May 13:19
5c2d28e

Choose a tag to compare

Security issue fixed:

Minor:

  • Readme update (#178).

DFU Library 1.10.1

10 Mar 08:31

Choose a tag to compare

Bug fixed:

DFU Library 1.10.0

12 Feb 11:25

Choose a tag to compare

New feature:

  • Option to specify an initial delay before sending every data object has been added. Use setPrepareDataObjectDelay(long). By default, a 400 ms delay will be added before sending the 1st data object, but there will be no delay before the following objects. The delay set using this method will apply to all objects. The delay may reduce packet lose incidents, that would cause automatic switching to PRN =1.