nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches

◆ nrf_cloud_fota_pending_job_type_get()

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 

.

Parameters
[out]pending_fota_typeFOTA type of pending job.
Return values
0FOTA type was retrieved.
-EINVALError; invalid parameter.
Returns
A negative value indicates an error.