Linux bluetooth development
 help / color / mirror / Atom feed
* Setting Link Level Security Mode
@ 2013-02-20  3:09 Randy Yates
  2013-02-20  6:34 ` Ash K
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Yates @ 2013-02-20  3:09 UTC (permalink / raw)
  To: Bluez Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Setting Link Level Security Mode
  2013-02-20  3:09 Setting Link Level Security Mode Randy Yates
@ 2013-02-20  6:34 ` Ash K
  0 siblings, 0 replies; 2+ messages in thread
From: Ash K @ 2013-02-20  6:34 UTC (permalink / raw)
  To: Randy Yates; +Cc: Bluez Mailing List

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
<yates@digitalsignallabs.com> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



--
Ash

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-20  6:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-20  3:09 Setting Link Level Security Mode Randy Yates
2013-02-20  6:34 ` Ash K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox