nRF Connect SDK API 0.1.0
|
int lwm2m_os_dfu_done | ( | bool | successful, |
uint32_t | crc32 | ||
) |
#include <lib/bin/lwm2m_carrier/include/lwm2m_os.h>
Finalize the current firmware upgrade and CRC-validate the image if required.
[in] | successful | Indicate if upload was successful. |
[in] | crc32 | Expected IEEE CRC32 value to be checked for the whole file in flash. Can be any value if no validation expected. |
0 | Success. |
-EACCES | lwm2m_os_dfu_start() was not called beforehand. |
-EINVAL | CRC error. |
-EIO | Internal error. |