![]() |
nRF Connect SDK API 3.3.99
|
| int nrf_cloud_fota_pending_job_type_get | ( | enum nrf_cloud_fota_type *const | pending_fota_type | ) |
#include <include/net/nrf_cloud.h>
Retrieve the FOTA type of a pending FOTA job. A value of NRF_CLOUD_FOTA_TYPE__INVALID indicates that there are no pending FOTA jobs. Depends on.
CONFIG_NRF_CLOUD_FOTA
.
| [out] | pending_fota_type | FOTA type of pending job. |
| 0 | FOTA type was retrieved. |
| -EINVAL | Error; invalid parameter. |