nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ fragment_size

uint32_t nrf_cloud_fota_poll_ctx::fragment_size

HTTP fragment size. Sets the size of the requested payload in each HTTP request when downloading the firmware image. Note that the header size is not included in this size. It is important that the total size of each fragment (HTTP headers + payload) fits in the buffers of the underlying network stack layers. Failing to do so, may result in failure to download new firmware images.

If this value is set to 0, the Kconfig option :kconfig:option:CONFIG_NRF_CLOUD_FOTA_DOWNLOAD_FRAGMENT_SIZE will be used.