X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/008e0e2e0a13e64e03f27f1c9a008ef201560878..480da5aab642eb7e5b87e604a55a91bf872b3607:/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h?ds=inline diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h b/Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h index 738cc063d..1cfc2b2c0 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 16-bit PSM 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 */ + Item16Bit_t PSM; /**< PSM that is to be used to access the service on created channels */ + } Protocol; + } ItemProtocolPSM_t; /** Structure for a list of Data Elements containing language encodings, including the language ID, Encoding ID and * Attribute base offset.