nRF Connect SDK API 0.1.0
|
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 embed:rst:inline :kconfig:option:`CONFIG_NRF_CLOUD_CONNECTION_POLL_THREAD`is enabled and the connection poll thread did not become inactive. |