pairing PC and phone
Maksim Yevmenkin
maksim.yevmenkin at savvis.net
Tue Aug 22 21:00:59 UTC 2006
Mario,
[...]
> Thank you very much
> it has connected
> but now there is another problem
> so...when the phone prompt me for the passcode and I enter it
> it says that is connected, but the obex returns this:
>
> # obexapp -c -a 00:17:b0:53:55:29 -C 1
> Could not connect to the remote OBEX server. Response: Unknown response (0). Service: None
>
> and in a few seconds the fone tells that is disconnected
> what does this mean ?
> how can I browse the files in my phone ?
[...]
> sdpcontrol returns this:
> # sdpcontrol -a 00:17:b0:53:55:29 browse
[...]
> Record Handle: 0x00010092
> Service Class ID List:
> OBEX Object Push (0x1105)
> Protocol Descriptor List:
> L2CAP (0x0100)
> RFCOMM (0x0003)
> Protocol specific parameter #1: u/int8/bool 9
> OBEX (0x0008)
> Bluetooth Profile Descriptor List:
> OBEX Object Push (0x1105) ver. 1.0
>
> Record Handle: 0x00010093
> Service Class ID List:
> OBEX File Transfer (0x1106)
> Protocol Descriptor List:
> L2CAP (0x0100)
> RFCOMM (0x0003)
> Protocol specific parameter #1: u/int8/bool 10
> OBEX (0x0008)
> Bluetooth Profile Descriptor List:
> OBEX File Transfer (0x1106) ver. 1.0
according to the sdp, obex services are on rfcomm channels 9 (push) and
10 (file transfer). you have specifically told obexapp(1) to connect to
rfcomm channel 1 (-C 1 option) where no obex service is listening.
just let obexapp(1) figure out rfcomm channel number automatically, i.e.
% obexapp -c -a 00:17:b0:53:55:29 -C opush (to use obex push service)
or
% obexapp -c -a 00:17:b0:53:55:29 -f -C ftrn (to use obex file transfer
service)
thanks,
max
More information about the freebsd-bluetooth
mailing list