From owner-freebsd-bluetooth@FreeBSD.ORG Tue Aug 22 17:12:18 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 0ECB816A4DA for ; Tue, 22 Aug 2006 17:12:18 +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 AE50C43D5A for ; Tue, 22 Aug 2006 17:12:17 +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 96D243BE4A; Tue, 22 Aug 2006 12:12:16 -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 27312-01-24; Tue, 22 Aug 2006 12:12:16 -0500 (CDT) Received: from [10.12.163.251] (unknown [10.12.163.251]) by mailgate1b.savvis.net (Postfix) with ESMTP id 381D13BE43; Tue, 22 Aug 2006 12:12:16 -0500 (CDT) Message-ID: <44EB3AEF.2030701@savvis.net> Date: Tue, 22 Aug 2006 10:12:15 -0700 From: Maksim Yevmenkin User-Agent: Thunderbird 1.5.0.2 (X11/20060603) MIME-Version: 1.0 To: Mario Pavlov References: <208735345.378631156254300487.JavaMail.nobody@mail04.abv.bg> In-Reply-To: <208735345.378631156254300487.JavaMail.nobody@mail04.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 17:12:18 -0000 Mario, [...] > # cat /etc/bluetooth/hcsecd.conf > device { > bdaddr 00:00:00:00:00:00; > name "Default entry"; > key nokey; > pin nopin; > } > > device { > bdaddr 00:17:b0:53:55:29; > name "Tilifon"; > key nokey; > pin "nopin"; > } you need to specify pin code, for example pin "1234"; > so I run the hcsecd daemon > > and I try: > # obexapp -c -a 00:17:b0:53:55:29 -C 1 > > my phone tells me that some device want to pair with it > I chose accept > and the phone is prompting me for passcode... > I enter something and it sasy "pairing failed" when phone prompts, you need to enter the same pin code you have put into /etc/bluetooth/hcsecd.conf, i.e. for example above you need to enter 1234 on the phone. thanks, max