Re: [Bluez-users] devices always connect with out asking for PIN even with pairing enabled!

Marcel Holtmann
2007-09-11T15:15:47Z

Hi Shane,

> Then if comment out all the options in the hcid.conf, hcid should then
> use all its default values and I should be able to do the pairing and
> security completely with PAND, correct?

use the default hcid.conf. It has sane settings. And yes, pand will
control the request for authentication.

> A passkey agent is used to send the key when requested by the master
> but then how do you set the passkey on the master. I was originally
> using passkey in the hcid.conf file but that goes against your
> recommendation of never touching the hcid.conf file. Were does the
> master PIN get set? Does it also just use a passkey agent?

You have to run a passkey agent. It takes care of asking for the PIN. A
passkey agent however must not be interactive. It could always provide a
default PIN. Write your own one if you need something special.

Regards

Marcel