nRF Connect SDK API 0.1.0
|
#include <include/net/nrf_cloud.h>
nRF Cloud connect result. Used as return value for nrf_cloud_connect() and to describe NRF_CLOUD_EVT_TRANSPORT_CONNECT_ERROR event.
Enumerator | |
---|---|
NRF_CLOUD_CONNECT_RES_SUCCESS | The connection was successful |
NRF_CLOUD_CONNECT_RES_ERR_NOT_INITD | The library is not initialized; nrf_cloud_init |
NRF_CLOUD_CONNECT_RES_ERR_NETWORK | A network error ocurred |
NRF_CLOUD_CONNECT_RES_ERR_BACKEND | A connection error occurred relating to the nRF Cloud backend |
NRF_CLOUD_CONNECT_RES_ERR_MISC | The connection failed due to an indeterminate reason |
NRF_CLOUD_CONNECT_RES_ERR_NO_MEM | Insufficient memory is available |
NRF_CLOUD_CONNECT_RES_ERR_PRV_KEY | Invalid private key |
NRF_CLOUD_CONNECT_RES_ERR_CERT | Invalid CA or client cert |
NRF_CLOUD_CONNECT_RES_ERR_CERT_MISC | Other cert issue |
NRF_CLOUD_CONNECT_RES_ERR_TIMEOUT_NO_DATA | Timeout, SIM card may be out of data |
NRF_CLOUD_CONNECT_RES_ERR_ALREADY_CONNECTED | The connection exists |