X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/23a94a7181a0773431b3ea5dbcddab9e06010391..6d53cdba8367a6f589302f913a58d55650f45d97:/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h b/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h index 738cc063d..7e33638db 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h @@ -136,14 +136,29 @@ */ typedef struct { - uint8_t Header; /**< Data Element header, should be (SDP_DATATYPE_Sequence | SDP_DATASIZE_Variable8Bit) */ - uint8_t Size; /**< Size of the inner Data Element sequence */ + uint8_t Header; /**< Data Element header, should be (SDP_DATATYPE_Sequence | SDP_DATASIZE_Variable8Bit) */ + uint8_t Size; /**< Size of the inner Data Element sequence */ struct { ItemUUID_t UUID; /**< UUID to store in the protocol list Data Element sequence */ } Protocol; } ItemProtocol_t; + + /** Structure for a list of Data Elements Sequences containing UUID Data Elements and 8-bit channel values, for service + * attributes requiring extended protocol lists. + */ + typedef struct + { + uint8_t Header; /**< Data Element header, should be (SDP_DATATYPE_Sequence | SDP_DATASIZE_Variable8Bit) */ + uint8_t Size; /**< Size of the inner Data Element sequence */ + + struct + { + ItemUUID_t UUID; /**< UUID to store in the protocol list Data Element sequence */ + Item8Bit_t Channel; /**< Channel that is to be used to access the service */ + } Protocol; + } ItemProtocolChannel_t; /** Structure for a list of Data Elements containing language encodings, including the language ID, Encoding ID and * Attribute base offset. @@ -157,5 +172,6 @@ /* External Variables: */ extern const ServiceAttributeTable_t SerialPort_Attribute_Table[]; + extern const ServiceAttributeTable_t PnP_Attribute_Table[]; #endif