This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Increasing the download client_http_frag_size throwing errors

Hello,

Im trying to implement FOTA on the nrf9160. Currently my first version is working however I would like to decrease the amount of data used in the process. According to the documentation this is possible by increasing the DOWNLOAD_CLIENT_HTTP_FRAG_SIZE in the config or changing the value in the "fota_download_start function".

When I change the default value by setting "DOWNLOAD_CLIENT_HTTP_FRAG_SIZE" it throws this error when building: warning: attempt to assign the value '4096' to the undefined symbol DOWNLOAD_CLIENT_HTTP_FRAG_SIZE

And when i change the value in the fota_download_start_function the code crashes and the FOTA doesnt start.

What am i doing wrong?

Parents Reply Children
No Data
Related