-
- #define SDP_ATTRIBUTE_ID_SERVICERECORDHANDLE 0x0000
- #define SDP_ATTRIBUTE_ID_SERVICECLASSIDS 0x0001
- #define SDP_ATTRIBUTE_ID_LANGIDOFFSET 0x0006
- #define SDP_ATTRIBUTE_ID_AVAILABILITY 0x0008
- #define SDP_ATTRIBUTE_ID_VERSION 0x0200
- #define SDP_ATTRIBUTE_ID_SERVICENAME 0x0100
- #define SDP_ATTRIBUTE_ID_SERVICEDESCRIPTION 0x0101
-
- #define SWAPENDIAN_16(x) ((((x) & 0xFF00) >> 8) | (((x) & 0x00FF) << 8))
- #define SWAPENDIAN_32(x) (SWAPENDIAN_16(((x) & 0xFFFF0000) >> 16) | SWAPENDIAN_16(((x) & 0x0000FFFF) << 16))
-
- /** Size of a full 128 bit UUID, in bytes. */
- #define UUID_SIZE_BYTES 16
-
- /** First 96 bits common to all standadized Bluetooth services. */
- #define BASE_96BIT_UUID 0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00
-
- /** Terminator for a service attribute table of type \ref ServiceAttributeTable_t. */
- #define SERVICE_ATTRIBUTE_TABLE_TERMINATOR {.Data = NULL}