Extra protocol value in the RFCOMM protocol is the channel number, not the PSM -...
[pub/USBasp.git] / Demos / Host / Incomplete / BluetoothHost / Lib / SDPServices.h
index 1cfc2b2..7e33638 100644 (file)
                        } Protocol;\r
                } ItemProtocol_t;\r
 \r
-               /** Structure for a list of Data Elements Sequences containing UUID Data Elements and 16-bit PSM values, for service\r
+               /** Structure for a list of Data Elements Sequences containing UUID Data Elements and 8-bit channel values, for service\r
                 *  attributes requiring extended protocol lists.\r
                 */\r
                typedef struct\r
                {\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
+                       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
                        struct\r
                        {\r
-                               ItemUUID_t  UUID; /**< UUID to store in the protocol list Data Element sequence */\r
-                               Item16Bit_t PSM; /**< PSM that is to be used to access the service on created channels */\r
+                               ItemUUID_t UUID; /**< UUID to store in the protocol list Data Element sequence */\r
+                               Item8Bit_t Channel; /**< Channel that is to be used to access the service */\r
                        } Protocol;\r
-               } ItemProtocolPSM_t;\r
+               } ItemProtocolChannel_t;\r
                \r
                /** Structure for a list of Data Elements containing language encodings, including the language ID, Encoding ID and\r
                 *  Attribute base offset.\r
                \r
        /* External Variables: */\r
                extern const ServiceAttributeTable_t SerialPort_Attribute_Table[];\r
+               extern const ServiceAttributeTable_t PnP_Attribute_Table[];\r
                \r
 #endif\r