From owner-freebsd-bluetooth@FreeBSD.ORG Tue Aug 22 21:00:59 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFC0616A4DA for ; Tue, 22 Aug 2006 21:00:59 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1555243D46 for ; Tue, 22 Aug 2006 21:00:59 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 211AA3BE57; Tue, 22 Aug 2006 16:00:58 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30566-02-73; Tue, 22 Aug 2006 16:00:58 -0500 (CDT) Received: from [10.12.163.251] (unknown [10.12.163.251]) by mailgate1b.savvis.net (Postfix) with ESMTP id B22993BE3C; Tue, 22 Aug 2006 16:00:57 -0500 (CDT) Message-ID: <44EB7086.6070309@savvis.net> Date: Tue, 22 Aug 2006 14:00:54 -0700 From: Maksim Yevmenkin User-Agent: Thunderbird 1.5.0.2 (X11/20060603) MIME-Version: 1.0 To: Mario Pavlov References: <1098400120.449091156279905606.JavaMail.nobody@mail02.abv.bg> In-Reply-To: <1098400120.449091156279905606.JavaMail.nobody@mail02.abv.bg> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at savvis.net Cc: freebsd-bluetooth@freebsd.org Subject: Re: pairing PC and phone X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 21:00:59 -0000 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