Skip to content

Releases: NordicSemiconductor/Android-DFU-Library

DFU Library 1.11.0

28 Jul 10:54
Compare
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
Compare
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
Compare
Choose a tag to compare

Bugs fixed:

  • ZIP file parsing error fixed (#237).

DFU Library 1.10.2

13 May 13:19
5c2d28e
Compare
Choose a tag to compare

Security issue fixed:

Minor:

  • Readme update (#178).

DFU Library 1.10.1

10 Mar 08:31
Compare
Choose a tag to compare

Bug fixed:

DFU Library 1.10.0

12 Feb 11:25
Compare
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.

DFU Library 1.9.2

12 Feb 10:42
Compare
Choose a tag to compare

Bugs fixed:

  • Some null pointers checks have been added,
  • A fix that could improve behavior related to #193 (service will call startForeground(..) earlier).
  • Publishing script updated (missing dependencies have been added to POM file),

Version 1.9.1

03 Jan 08:47
Compare
Choose a tag to compare

Improvements:

  • A short initial delay was added in Secure DFU before sending the first data object to give more time for the DFU target to prepare flash. This seems to be needed in the latest SDKs, otherwise the data sent are not being stored properly and CRC errors are returned.

DFU Library with Secure DFU 1.9.0

21 Feb 10:12
bbecebe
Compare
Choose a tag to compare

Improvements:

  • #169 - Migrated to Android Jetpack.
  • #170 - Added automatic retrying DFU process in case of undesired disconnection. Call setNumberOfRetries(int) to enable this feature.
  • Disconnection is now checked before the error (a24f1e8). This feature was necessary to make the retrying work.
  • Last Settings constant made deprecated (1a40f78). If you use HEX files and want to send from address 0, or with a different MBR size than 40496 (0x1000), use setMbrSize(int) instead of using Shared Preferences.
  • Improved reconnection in case of error 133.
  • Comments reformatted.
  • More validation annotations added.

DFU Library with Secure DFU 1.8.1

10 Dec 12:27
Compare
Choose a tag to compare