Skip to contentSkip to conversation

Setting Link Level Security Mode

DISCUSSION Randy Yates 2 participants 2 messages Feb 20, 2013 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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).

Signature · 3 lines
Randy Yates
Digital Signal Labs
http://www.digitalsignallabs.com
#1 lore raw

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.

Quoted 17 lines · Randy Yates

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
Quoted 12 lines

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