![]() |
nRF Connect SDK API 3.3.99
|
| int nrf_cloud_client_id_runtime_set | ( | const char *const | client_id | ) |
#include <include/net/nrf_cloud.h>
Set the device ID at runtime. Requires.
CONFIG_NRF_CLOUD_CLIENT_ID_SRC_RUNTIME
to be enabled.
| [in] | client_id | Null-terminated device ID string. Max string length is NRF_CLOUD_CLIENT_ID_MAX_LEN. |
| 0 | If successful. |
| -EINVAL | The length of the client_id provided exceeds the maximum allowed. |
| -ENODATA | The client_id cannot be empty. |