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

◆ nrf_cloud_fota_poll_init()

int nrf_cloud_fota_poll_init ( struct nrf_cloud_fota_poll_ctx * ctx)

#include <include/net/nrf_cloud_fota_poll.h>

Initialize nRF Cloud FOTA polling assistance. Must be called before any other module functions.

Parameters
[in]ctxPointer to context used for FOTA polling operations.
Return values
0If successful.
-EINVALInvalid ctx.
Returns
A negative value indicates an error.