Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Dec 2004 10:44:44 -0800
From:      Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
To:        Tuc at Beach House <tuc@tucs-beachin-obx-house.com>
Cc:        Tuc at Beach House <tuc@ttsg.com>
Subject:   Re: sdpcontrol issues (LONG)
Message-ID:  <41B89D1C.2050601@savvis.net>
In-Reply-To: <200412091831.iB9IVIDY016237@himinbjorg.tucs-beachin-obx-house.com>
References:  <200412091831.iB9IVIDY016237@himinbjorg.tucs-beachin-obx-house.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tuc at Beach House wrote:
>>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)
>>
> 
> 	I *THOUGHT* I did...... I didn't. :-/
> 
>>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
>>
> 
> 	Do you see it here?

yep, thanks. thats it. here is the response to your 'search opush' command.

1102617014.728752 > ACL data: handle 0x0029 flags 0x02 dlen 56
     L2CAP(d): cid 0x5c len 52 [psm 1]
         SDP SSA Rsp: tid 0x0 len 0x2f
           cnt 0x2c
           srv rec #0
             aid 0x0000 (SrvRecHndl)
                uint 0x10001
             aid 0x0001 (SrvClassIDList)
                < uuid-16 0x1105 (OBEXObjPush) >
             aid 0x0004 (ProtocolDescList)
                < < uuid-16 0x0100 (L2CAP) > <
                uuid-16 0x0003 (RFCOMM) uint 0x1 > <
                uuid-16 0x0008 (OBEX) > >

           cont 00

i noticed that you also did 'browse' but you got nothing, right? that's 
normal, as long as you are not getting any errors from sdpcontrol(8). i 
will commit a bit different patch (to libsdp(3)) that will work around 
this problem. for now please undo all the changes to the sdpcontrol(8). 
i will send you libsdp(3) patch to apply in separate email.

sigh.. some smartphones are not so smart after all :(

> 	One thing that has happened is after doing some of these I've had
> random full lockups of the Treo.

i'd say this has nothing to do with this. all we are doing is opening 
bluetooth connection and sending some data. this should not cause any 
lockups on any side. if it does then i'd say its treo's fault.

thanks,
max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41B89D1C.2050601>