sdpcontrol issues (LONG)

Maksim Yevmenkin maksim.yevmenkin at savvis.net
Thu Dec 9 10:10:19 PST 2004


Tuc at Beach House wrote:
>>could you please attach hcidump?
>>
> 	Sorry.

no problem. but,i think, you did not comment out original code, i.e you 
just added

SDP_ATTR_RANGE( 0, 1 ),
SDP_ATTR_RANGE( 3, 4 ),
SDP_ATTR_RANGE( 8, 9 ),

on top. you *need* to *comment out* (or remove) the following part

          SDP_ATTR_RANGE( SDP_ATTR_SERVICE_RECORD_HANDLE,
                          SDP_ATTR_SERVICE_RECORD_HANDLE),
          SDP_ATTR_RANGE( SDP_ATTR_SERVICE_CLASS_ID_LIST,
                          SDP_ATTR_SERVICE_CLASS_ID_LIST),
          SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST,
                          SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST),
          SDP_ATTR_RANGE( SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST,
                          SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST)

the dump shows

< ACL data: handle 0x002a flags 0x02 dlen 56
     L2CAP(d): cid 0x40 len 52 [psm 1]
         SDP SSA Req: tid 0x0 len 0x2f
           pat uuid-16 0x1105 (OBEXObjPush)
           max 0xffff
           aid(s) 0x0000 - 0x0001 0x0003 - 0x0004 0x0008 - 0x0009 0x0000 
- 0x0000 0x0001 - 0x0001 0x0004 - 0x0004 0x0009 - 0x0009
           cont 00

i.e. sdpcontrol(8) still sends attribute id ranges that consist of only 
one attribute - the problem still there. i want to see something like

< ACL data: handle 0x002a flags 0x02 dlen 56
     L2CAP(d): cid 0x40 len 52 [psm 1]
         SDP SSA Req: tid 0x0 len 0x2f
           pat uuid-16 0x1105 (OBEXObjPush)
           max 0xffff
           aid(s) 0x0000 - 0x0001 0x0003 - 0x0004 0x0008 - 0x0009
           cont 00

thanks,
max


More information about the freebsd-bluetooth mailing list