Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DFU API to get Image Size

Is there an API to get the dfu image size?  We use this in combination with s_dfu_settings.progress.firmware_image_offset to show a progress bar on the gui.  In the past, we have modified nrf_dfu_req_handler to access m_firmware_size_req as the total image size to be written.  I was hoping when the DFU was overhauled in SDK 15 that there would be an api to access this info, especially with the new observer callback.  Did I miss the API or do I need to modify the SDK to get this info?

Parents Reply Children
No Data
Related