Date: Tue, 22 Aug 2006 14:00:54 -0700 From: Maksim Yevmenkin <maksim.yevmenkin@savvis.net> To: Mario Pavlov <freebsd@abv.bg> Cc: freebsd-bluetooth@freebsd.org Subject: Re: pairing PC and phone Message-ID: <44EB7086.6070309@savvis.net> In-Reply-To: <1098400120.449091156279905606.JavaMail.nobody@mail02.abv.bg> References: <1098400120.449091156279905606.JavaMail.nobody@mail02.abv.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44EB7086.6070309>