Re: [Bluez-users] Re: Bluetooth security in bluez ?

Marcel Holtmann
2004-04-01T10:40:08Z

Hi Anssi,

> > setting auth and encrypt in hcid.conf enables security mode 3, which is
> > not what most people want. Leave it off and use security mode 1/2 and
> > let the remote device trigger the security mechanism.
>
> How can you tell whether a connection is encrypted or not in Bluez if
> security mode is 2?

check with "hcitool con"

Connections:
< ACL 00:0A:xx:xx:xx:xx handle 43 state 1 lm MASTER ENCRYPT

Regards

Marcel