Hi, we are using the nrf_cloud_fota_poll library with CoAP to interface the nRF Cloud for FOTA updates for nrf9160.
In lossy mobile network with bad reception, the FOTA download may have a tendency to fail often, making it hard to do a FOTA job. This makes us need to manually restart FOTA-jobs.
I'm working on making the FOTA download more tolerant for lossy network
This documentation page https://docs.nordicsemi.com/bundle/ncs-3.1.1/page/nrf/libraries/networking/nrf_cloud_coap.html describes some configs that can be tweaked. I also found a couple others that I wanted to tweak. I have now:
The page also describe this config that can be tweaked: CONFIG_COAP_MAX_RETRANSMIT. However, I cannot see it do any change, and looking in the source code in the library, it seems not have any effect.
There is also an issue that when download fails, I can restart the FOTA job in the cloud. The nrf9160 will then continue where it left, i.e. if it failed at 20%, it will continue on 20%. But if I instead of restarting the same job, start a new FOTA job with an other firmare, the nrf9160 will still continue on 20%. The downloaded firmware is then not valid, and I must once again restart that new job. Is this the intentional behaviour?