Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 10:12:15 -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:  <44EB3AEF.2030701@savvis.net>
In-Reply-To: <208735345.378631156254300487.JavaMail.nobody@mail04.abv.bg>
References:  <208735345.378631156254300487.JavaMail.nobody@mail04.abv.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44EB3AEF.2030701>