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.

  • Hi, the zip file comes from the folder: smp_svr/build/zephyr

    The zip file is created by the build system for this sample project. I made no changes to the sample project. 

    I tested again today and get a different error from the Device Manager app when I tap on "select file" and then pick the file dfu_application.zip. The error is "Error Loading File: Unable to Decode Manifest JSON File." See screenshot.

    I have attached the zip file.

    8270.dfu_application.zip

Reply Children
Related