Add L2CAP service attribute table. Fix up ProtocolDescriptorList attributes, and...
[pub/USBasp.git] / Demos / Host / Incomplete / BluetoothHost / Lib / ServiceDiscoveryProtocol.c
index 6bb35f6..c6b3948 100644 (file)
  */
 const ServiceTable_t SDP_Services_Table[] PROGMEM =
        {
  */
 const ServiceTable_t SDP_Services_Table[] PROGMEM =
        {
-               {   // 128-bit UUID for the SDP service
-                       .UUID  = {BASE_80BIT_UUID, {0x00, 0x00, 0x00, 0x00, 0x00, 0x01}},
-                       .AttributeTable = SDP_Attribute_Table,
-               },
-               {   // 128-bit UUID for the RFCOMM service
-                       .UUID  = {BASE_80BIT_UUID, {0x00, 0x00, 0x00, 0x00, 0x00, 0x03}},
-                       .AttributeTable = RFCOMM_Attribute_Table,
-               },
+               { .UUID  = SDP_UUID   , .AttributeTable = SDP_Attribute_Table     },
+               { .UUID  = RFCOMM_UUID, .AttributeTable = RFCOMM_Attribute_Table  },
+               { .UUID  = L2CAP_UUID , .AttributeTable = L2CAP_Attribute_Table   },
        };
 
 /** Base UUID value common to all standardized Bluetooth services */
        };
 
 /** Base UUID value common to all standardized Bluetooth services */