/** First 80 bits common to all standardized Bluetooth services. */\r
#define BASE_80BIT_UUID SWAPENDIAN_32(0xFB349B5F), SWAPENDIAN_16(0x8000), SWAPENDIAN_16(0x0080), SWAPENDIAN_16(0x0010)\r
\r
+ #define SDP_UUID {BASE_80BIT_UUID, {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}}\r
+ #define RFCOMM_UUID {BASE_80BIT_UUID, {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}}\r
+ #define L2CAP_UUID {BASE_80BIT_UUID, {0x00, 0x00, 0x00, 0x00, 0x01, 0x00}}\r
+ #define UPNP_UUID {BASE_80BIT_UUID, {0x00, 0x00, 0x00, 0x00, 0x00, 0x10}}\r
+ #define SDP_CLASS_UUID {BASE_80BIT_UUID, {0x00, 0x00, 0x00, 0x00, 0x10, 0x00}}\r
+ #define SP_CLASS_UUID {BASE_80BIT_UUID, {0x00, 0x00, 0x00, 0x00, 0x11, 0x01}}\r
+ #define UPNP_CLASS_UUID {BASE_80BIT_UUID, {0x00, 0x00, 0x00, 0x00, 0x12, 0x00}}\r
+ \r
#define SDP_ATTRIBUTE_ID_SERVICERECORDHANDLE 0x0000\r
#define SDP_ATTRIBUTE_ID_SERVICECLASSIDS 0x0001\r
#define SDP_ATTRIBUTE_ID_PROTOCOLDESCRIPTORLIST 0x0004\r
uint8_t Header; /**< Data Element header, should be (SDP_DATATYPE_Sequence | SDP_DATASIZE_Variable8Bit) */\r
uint8_t Size; /**< Size of the inner Data Element sequence */\r
\r
- ItemUUID_t UUID; /**< UUID to store in the protocol list Data Element sequence */\r
+ struct\r
+ {\r
+ ItemUUID_t UUID; /**< UUID to store in the protocol list Data Element sequence */\r
+ } Protocol;\r
} ItemProtocol_t;\r
\r
/* External Variables: */\r
extern const ServiceAttributeTable_t SDP_Attribute_Table[];\r
extern const ServiceAttributeTable_t RFCOMM_Attribute_Table[];\r
+ extern const ServiceAttributeTable_t L2CAP_Attribute_Table[];\r
\r
#endif\r