71 #include "bt_platform.h" 74 #if defined(__ARMCC_VERSION) 86 #define BT_UUID_INIT_WITH_UUID16(x) \ 87 {{0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, \ 88 0x00, 0x10, 0x00, 0x00, \ 103 typedef union bt_uuid bt_uuid_t; 108 BT_PACKED(union bt_uuid{ 111 uint32_t reserved1[3];
115 uint16_t reserved2[6];
void bt_uuid_copy(bt_uuid_t *dst, const bt_uuid_t *src)
This function copies the UUID from another UUID.
bool bt_uuid_is_uuid16(const bt_uuid_t *uuid)
This function checks if it is a 16-bit UUID.
void bt_uuid_from_uuid16(bt_uuid_t *dst, const uint16_t uuid16)
This function converts the UUID in 16-bit integer format to bt_uuid_t structure.
bool bt_uuid_is_uuid32(const bt_uuid_t *uuid)
This function checks if it is a 32-bit UUID.
void bt_uuid_load(bt_uuid_t *dst, const void *src, const uint8_t src_size)
This function converts the UUID stored as a number in string format to bt_uuid_t structure.
bool bt_uuid_equal(const bt_uuid_t *uuid1, const bt_uuid_t *uuid2)
This function checks if two UUIDs are identical.
void bt_uuid_from_uuid32(bt_uuid_t *dst, const uint32_t uuid32)
This function converts the UUID in 32-bit integer format to bt_uuid_t structure.
bt_uuid union.
Definition: bt_uuid.h:124