![]() |
nRF Connect SDK API 3.3.99
|
| int nrf_cloud_get_uuid | ( | char * | buf, |
| size_t | buf_sz ) |
#include <include/net/nrf_cloud.h>
Retrieve the device's UUID.
If
CONFIG_NRF_MODEM_LIB
is not enabled, returns an error.
| [in,out] | buf | A pointer in which to store the UUID string. |
| [in] | buf_sz | The size of the buffer. It should be at least NRF_DEVICE_UUID_STR_LEN + 1 bytes in size. |
| 0 | If successful. |
| -ENOTSUP | If the modem library is not available. |
| -EINVAL | buf cannot be NULL. |
| -ENOMEM | buf_sz was too small. |