nRF Connect SDK API 2.8.99
|
int nrf_cloud_credentials_configured_check | ( | void | ) |
#include <include/net/nrf_cloud.h>
Check if the credentials required for connecting to nRF Cloud exist. The application's configuration is used to determine which credentials are required. Check the size of the root CA certificates installed and return an error code if the size of the root CA certificate(s) is not appropriate for the configured transport type.
0 | Required credentials exist. |
-EIO | Error checking if credentials exists. |
-ENOTSUP | Required credentials do not exist. |
-ENOPROTOOPT | Size of root CA is not appropriate for the configured transport type. |