#include <include/net/nrf_cloud_coap.h>
Update the status of the specified nRF Cloud FOTA job.
- Parameters
-
[in] | job_id | Null-terminated FOTA job identifier. |
[in] | status | Status of the FOTA job. |
[in] | details | Null-terminated string containing details of the job, such as an error description. |
- Return values
-
-EACCES | Device does not have a valid nRF Cloud CoAP connection. |
- Returns
- 0 If successful, nonzero if failed. Negative values are device-side errors defined in errno.h. Positive values are cloud-side errors (CoAP result codes) defined in zephyr/net/coap.h.