pairing PC and phone

Maksim Yevmenkin maksim.yevmenkin at savvis.net
Tue Aug 22 17:12:18 UTC 2006


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



More information about the freebsd-bluetooth mailing list