Releases: NordicSemiconductor/Android-DFU-Library
Releases · NordicSemiconductor/Android-DFU-Library
DFU Library 1.12.0
What's Changed
- request mtu in Legacy by @jrluppold in #260
- Add links to Xamarin binding libraries by @tompi in #277
- Android 12 by @marcbaldwin in #313
- Migration to Android Studio Arctic Fox and Maven Central by @philips77 in #314
- Version 1.12 by @philips77 in #316
New Contributors
- @jrluppold made their first contribution in #260
- @tompi made their first contribution in #277
- @marcbaldwin made their first contribution in #313
Full Changelog: v1.11.1...1.12.0
DFU Library 1.11.1
DFU Library 1.11.0
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
DFU Library 1.10.3
Bugs fixed:
- ZIP file parsing error fixed (#237).
DFU Library 1.10.2
DFU Library 1.10.1
Bug fixed:
- DFU was freezing when the delay set by setPrepareDataObjectDelay(long) was not set. The library was waiting on
wait(0)
which is the same aswait()
.
DFU Library 1.10.0
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
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
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.