![]() |
nRF Connect SDK API 3.3.99
|
| int nrf_cloud_uninit | ( | void | ) |
#include <include/net/nrf_cloud.h>
Uninitialize nRF Cloud; disconnects cloud connection and cleans up allocated memory.
| 0 | If successful. |
| -EBUSY | If a FOTA job is in progress. |
| -EISCONN | If the expected disconnect event did not occur. |
| -ETIME | If CONFIG_NRF_CLOUD_CONNECTION_POLL_THREADis enabled and the connection poll thread did not become inactive. |