Optional
alternativeAlternative name to use in Bootloader mode. If not specified then a random name is generated.
The maximum length of the alternative advertising name is 20 bytes. Longer name will be truncated. UTF-8 characters can be cut in the middle.
undefined.
iOS only.
Optional
bootloaderScan duration (in milliseconds) when scanning for DFU Bootloader.
5000 ms.
Android only.
Optional
connectionWhen the DFU target does not connect before the time runs out, a timeout error is reported.
10.
iOS only.
Optional
deviceThe device named is used in user notifications.
Android only.
Optional
dfuThe callback that is repeatedly invoked during the upload, with information about the transfer progress.
The callback that is repeatedly invoked during the upload, with information about the transfer progress.
Optional
dfuThe callback that is invoked for each DFU event.
The callback that is invoked for each DFU event.
Optional
disableWhen set to true, disable using the experimental buttonless feature in Secure DFU.
false
Optional
disableDisable the ability for the Secure DFU process to resume from where it was.
false.
iOS only.
Optional
disallowWhether the DFU service should be started as a foreground service.
false.
Android only.
Optional
forceSetting force DFU to true will prevent from jumping to the DFU Bootloader mode in case there is no DFU Version characteristic (Legacy DFU only!). Use it if the DFU operation can be handled by your device running in the application mode.
false
Optional
forceWhen set to true, the Legacy Buttonless Service will scan for the device advertising with an incremented MAC address, instead of trying to reconnect to the same device.
false
Optional
keepWhether the bond information should be preserver after flashing new application. This feature requires Legacy DFU Bootloader version 0.6 or newer (SDK 8.0.0+).
false.
This flag is ignored when Secure DFU button-less Service is used. Android only.
Optional
prepareDelay that the service will wait before sending each data object in Secure DFU. The delay will be done after a data object is created, and before any data byte is sent.
0 (meaning 400 ms for the first packet and 0ms for the others).
Android only.
Optional
rebootTime required by the device to reboot. The library will wait for this time before scanning for the device in bootloader mode.
0 ms.
Android only.
Optional
restoreWhether a new bond should be created after the DFU is complete. The old bond information will be removed before.
false.
This flag is ignored when Secure DFU button-less Service is used. Android only.
Optional
retriesNumber of retries that the DFU service will use to complete DFU.
2 retries.
Android only.
Generated using TypeDoc
Optional parameters for startDfu.