2013-02-20 03:09:44

by Randy Yates

[permalink] [raw]
Subject: Setting Link Level Security Mode

We have a requirement to set Link Level Security mode 1. How can this be
done with the bluez stack?

The mgmt-api allows the following bit-mapped modes to be
configured:

1 Powered
2 Connectable
3 Fast Connectable
4 Discoverable
5 Pairable
6 Link Level Security (Sec. mode 3)
7 Secure Simple Pairing
8 Basic Rate/Enhanced Data Rate
9 High Speed
10 Low Energy

Note that although you can set Link Level Security mode 3 on or off,
there is no general way to set the link level security mode, which
according to Huang's "Bluetooth Essentials for Programmer" (p.31)
consists of three different modes (mode 1, mode 2, and mode 3).
--
Randy Yates
Digital Signal Labs
http://www.digitalsignallabs.com


2013-02-20 06:34:05

by Ash K

[permalink] [raw]
Subject: Re: Setting Link Level Security Mode

Hi Randy,

As far I can understand you security mode is has been removed from
specification since Bluetooth 2.1, it is mandatory to encrypt link
before service level connection.

On Wed, Feb 20, 2013 at 8:39 AM, Randy Yates
<[email protected]> wrote:
> We have a requirement to set Link Level Security mode 1. How can this be
> done with the bluez stack?
>
> The mgmt-api allows the following bit-mapped modes to be
> configured:
>
> 1 Powered
> 2 Connectable
> 3 Fast Connectable
> 4 Discoverable
> 5 Pairable
> 6 Link Level Security (Sec. mode 3)
> 7 Secure Simple Pairing
> 8 Basic Rate/Enhanced Data Rate
> 9 High Speed
> 10 Low Energy
>
> Note that although you can set Link Level Security mode 3 on or off,
> there is no general way to set the link level security mode, which
> according to Huang's "Bluetooth Essentials for Programmer" (p.31)
> consists of three different modes (mode 1, mode 2, and mode 3).
> --
> Randy Yates
> Digital Signal Labs
> http://www.digitalsignallabs.com
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html



--
Ash