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).