nRF Connect SDK API 0.1.0
|
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.
embed:rst:inline :kconfig:option:`CONFIG_NRF_CLOUD_FOTA`
.
[out] | pending_fota_type | FOTA type of pending job. |
0 | FOTA type was retrieved. |
-EINVAL | Error; invalid parameter. |