#include <include/net/nrf_cloud_rest.h>
Updates the status of the specified nRF Cloud FOTA job.
- Parameters
-
[in,out] | rest_ctx | Context for communicating with nRF Cloud's REST API. |
[in] | device_id | Null-terminated, unique device ID registered with nRF Cloud. |
[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
-
0 | If successful. Otherwise, a (negative) error code is returned. See embed:rst:inline :ref:`nrf_cloud_rest_failure` for details. |