linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* accessing Link key within the Bluetooth module
@ 2011-03-21  8:38 Suraj Sumangala
  2011-03-21 13:48 ` Johan Hedberg
  0 siblings, 1 reply; 4+ messages in thread
From: Suraj Sumangala @ 2011-03-21  8:38 UTC (permalink / raw)
  To: Johan Hedberg, linux-bluetooth@vger.kernel.org

Hi,

I am working on a Bluetooth AMP manager module (linked to l2cap module) 
that require access to the Link key of the connected(paired) device.

I am trying to use the hci_find_link_key() call with the BDADDR of the 
remote device as parameter without success. It looks like the list 
"hci_dev.link_keys" is not getting populated in the first place.

Note: The device is already paired with the local device, so the link 
key should be available( I do see the link_key_notify_evt getting called).

is there any way to access the link key of a paired device inside the 
Bluetooth module?

Regards
Suraj

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

end of thread, other threads:[~2011-03-22 17:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-21  8:38 accessing Link key within the Bluetooth module Suraj Sumangala
2011-03-21 13:48 ` Johan Hedberg
2011-03-22  4:29   ` Suraj Sumangala
2011-03-22 17:16     ` Gustavo F. Padovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).