#include <include/net/nrf_cloud_coap.h>
Request current nRF Cloud FOTA job info for the device.
- Parameters
-
[out] | job | Parsed job info. If no job exists, type will be set to invalid. If a job exists, user must call nrf_cloud_coap_fota_job_free to free the memory allocated by this function. |
- 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.