19#ifndef PROTOCORE_DEVICE_ID_H
20#define PROTOCORE_DEVICE_ID_H
24#if PROTOCORE_ENABLE_DEVICE_ID
29#define PROTOCORE_UUID_STR_LEN 37
60extern DeviceIdVars DeviceIdV;
65 void (*
const from_mac)(uint8_t *work);
66 void (*
const uuid)(uint8_t *work);
71void protocore_device_id_from_mac(uint8_t *work);
72void protocore_device_id_uuid(uint8_t *work);
78static const DeviceIdNs DeviceId __attribute__((unused)) = {
79 .from_mac = protocore_device_id_from_mac,
80 .uuid = protocore_device_id_uuid,
83#if PROTOCORE_HAS_VENDOR_MAC
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
#define PROTOCORE_END_DECLS