EXTRA_FILE_TYPE
This optional extra parameter may contain a file type. Currently supported are:
- TYPE_SOFT_DEVICE - only Soft Device update
- TYPE_BOOTLOADER - only Bootloader update
- TYPE_APPLICATION - only application update
- TYPE_AUTO - the file is a ZIP file that may contain more than one HEX/BIN + DAT files. Since SDK 8.0 the ZIP Distribution packet is a recommended way of delivering firmware files. Please, see the DFU documentation for more details. A ZIP distribution packet may be created using the 'nrf util' Python application, available at https://github.com/NordicSemiconductor/pc-nrfutil. The ZIP file MAY contain only the following files: softdevice.hex/bin, bootloader.hex/bin, application.hex/bin to determine the type based on its name. At lease one of them MUST be present.
- If the EXTRA_FILE_MIME_TYPE field is
null
or is equal to {@value #MIME_TYPE_OCTET_STREAM} - the TYPE_APPLICATION is assumed. - If the EXTRA_FILE_MIME_TYPE field is equal to {@value #MIME_TYPE_ZIP} - the TYPE_AUTO is assumed.