2008-10-22 03:05:48

by Li, Zhigang

[permalink] [raw]
Subject: how to set passkey in bluez4.X

Hi all,
Could somebody know how to set passkey in bluez4.X?

In Bluez3.X we can set it in hcid.conf and I tried set passkey in main.conf

I added the passkey at the end of this file. Passkey = "1234"

But it doesn't work.

Any idea!

Thanks

B,R



2008-10-23 04:45:36

by Marcel Holtmann

[permalink] [raw]
Subject: Re: how to set passkey in bluez4.X

Hi Zhigang,

> Could somebody know how to set passkey in bluez4.X?
>
> In Bluez3.X we can set it in hcid.conf and I tried set passkey in main.conf
>
> I added the passkey at the end of this file. Passkey = "1234"
>
> But it doesn't work.

having pin codes in a config file is wrong and insecure. You have to
have a BlueZ agent running to answer pin requests.

Regards

Marcel