![]() |
nRF Connect SDK API 3.3.99
|
| int nrf_cloud_get_imei | ( | char * | buf, |
| size_t | buf_sz ) |
#include <include/net/nrf_cloud.h>
Retrieve the IMEI.
If
CONFIG_NRF_MODEM_LIB
is not enabled, returns an error.
| [in,out] | buf | A pointer in which to store the IMEI string. |
| [in] | buf_sz | The size of the buffer. It should be at least 22 to include the 15 bytes for the IMEI and 7 for AT command overhead. |
| 0 | If successful. |
| -ENOTSUP | If the modem library is not available. |