10#include <zephyr/types.h>
22#if defined(CONFIG_HW_ID_LIBRARY_SOURCE_BLE_MAC)
23#define HW_ID_LEN (12 + 1)
24#elif defined(CONFIG_HW_ID_LIBRARY_SOURCE_DEVICE_ID)
25#define HW_ID_LEN (16 + 1)
26#elif defined(CONFIG_HW_ID_LIBRARY_SOURCE_UUID)
28#define HW_ID_LEN (NRF_UUID_V4_STR_LEN + 1)
29#elif defined(CONFIG_HW_ID_LIBRARY_SOURCE_IMEI)
30#define HW_ID_LEN (15 + 1)
31#elif defined(CONFIG_HW_ID_LIBRARY_SOURCE_NET_MAC)
32#define HW_ID_LEN (12 + 1)
int hw_id_get(char *buf, size_t buf_len)
Fetch unique device ID.
Request a JWT from the modem.