I'm using the Bluetopia stack for the cc2564 and i'm having difficulty figuring out how to add an SDP attribute to a service record when the attribute has data sequences, for example in this protocol descriptor list:
Attribute Identifier : 0x4 - ProtocolDescriptorList
Data Sequence
Data Sequence
UUID16 : 0x0100 - L2CAP
Data Sequence
UUID16 : 0x0003 - RFCOMM
Channel/Port (Integer) : 0x1
According to the Bluetopia Stack API documentation the SDP_Add_Attribute() takes a single attribute (data element) that can only hold a single value. How do i construct a sequence that has multiple elements? Are multiple elements implied by the SDP_Data_Element_Length?