Skip to contentSkip to conversation

SDP data elements

Bluez-devel shamsheer yousaf 1 participant 1 message Apr 6, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi ,
I'm implementing JSR-82 as a project for college using BlueZ as the native protocol stack.
One of the things JSR-82 specifies is creation of data elements for the SDP. The JSR-82 specifies codes for each type of data element which corresponds to the bluetooth datatype + size descriptor code. Now JSR-82 specifies DataSequence code as 0x30 and DataAlternate code as 0x38. When i looked in the sdp.h header file these codes corresponded to SDP_SEQ_UNSPEC and SDP_ALT_UNSPEC ,which seems to be allright. But when i looked in the sdp.cat the sdp_data_alloc() function (which i'm using to allocate data elements
for other types like INT16,INT32 etc) , i cann't find an entry for SDP_SEQ_UNSPEC and SDP_ALT_UNSPEC. Are these types supported by Bluez? If so , how can i create an instance of these types.

Thanking you in advance

Yours Sincerely
Shamsheer Y

Signature · 2 lines
"Never let your sense of morals prevent you from doing what is right!" 
- "Salvor Hardin , Foundation " , Isaac Asimoc