ZIP file support for nRF Connect FOTA

While testing FOTA upgrades it seems ZIP files are not supported by the iOS Device Manager app. Here is the error when I select dfu_application.zip in the Device Manager app:

Is this only a limitation with the Device Manager app? Or is this also a limitation with the firmware? Maybe I am missing some build configuration to enable this feature?

Also related to this, I noticed the size of the ZIP file is the same as the BIN file. It appears the ZIP file is created with compression disabled. Is this intentional or a bug? 

My environment:

nRF Connect 2.1.0
MacOS 13.0 on M1
Device Manager 1.2.8 (4)
SDK project: zephyr/samples/subsys/mgmt/mcumgr/smp_svr

Parents
  • Hi mchartier,

    Do you consistently encounter this error?

    The iOS app is supposed to support zip file. However, I could not get hold of an iOS device today to try to reproduce your issue. I will get to that on Monday.

    How did you produce the zip file? If it is from the <build folder/zephyr folder, then it is a DFU package meant for nRF Cloud. It is just a storage archive to bundle the binary and a manifest file together, so no compression is intentional.
    It should actually be a slight bit (~1KB) heavier than the bin file, which is why I am not immediately sure you got the zip file from the zephyr folder.

    That zip file probably still works with the iOS app though. I need to double check with a real phone on Monday.

  • Just want to let you know that (surprisingly) I cannot find a colleague with an iOS device today. I schedule with a person tomorrow though so I will definitely get that test done then.

Reply Children
No Data
Related