FOTA over wifi

I try to download FOTA from http server to nrf7002 over WIFI

i use fota download library and initialized it ,then call API fota_download_start()
then the fota_callback_handler respond with   "FOTA_DOWNLOAD_EVT_FINISHED" , but when i call  sys_reboot(SYS_REBOOT_COLD) the system doesn't jump to the new firmware and reset to the old firmware

so where's the problem ?

Parents Reply Children
  • Hi,

    Can you confirm that this is how you have formatted the URL in your code? Or is the "> part just an artifact of your copying (on this note, please use the code formatting option in the future)?

    err = fota_download_start("">lucca.quanttronix.com:80" ,"">lucca.quanttronix.com/merged.bin" , -1 , 0 , 0);

    The host should be just the hostname, though you can include the scheme and/or port, e.g. lucca.qanttronix.com:80.

    Then, the file is just the path part of the URL, i.e. merged.bin.

    Also, the sec_tag_list parameter should be NULL to disable TLS, not -1.

Related