setBinOrHex
Deprecated
Sets the URI of the BIN or HEX file containing the new firmware. For DFU Bootloader version 0.5 or newer the init file must be specified using one of setInitFile methods.
Return
the builder
Parameters
the file type, a bit field created from:
- TYPE_APPLICATION - the Application will be sent
- TYPE_SOFT_DEVICE - he Soft Device will be sent
- TYPE_BOOTLOADER - the Bootloader will be sent
the URI of the file
Deprecated
Sets the URI of the BIN or HEX file containing the new firmware. For DFU Bootloader version 0.5 or newer the init file must be specified using one of setInitFile methods.
Return
the builder
Parameters
see setBinOrHex for details
path to the file
Deprecated
The Distribution packet (ZIP) should be used for DFU Bootloader version 0.5 or newer
Sets the URI or path to the BIN or HEX file containing the new firmware. For DFU Bootloader version 0.5 or newer the init file must be specified using one of setInitFile methods.
Return
the builder
Parameters
Deprecated
Sets the resource ID pointing the BIN or HEX file containing the new firmware. The file should be in the /res/raw folder. For DFU Bootloader version 0.5 or newer the init file must be specified using one of setInitFile methods.
Return
the builder
Parameters
see setBinOrHex for details
resource ID