All of lore.kernel.org
 help / color / mirror / Atom feed
From: Suraj Sumangala <suraj@Atheros.com>
To: Johan Hedberg <johan.hedberg@gmail.com>,
	"linux-bluetooth@vger.kernel.org"
	<linux-bluetooth@vger.kernel.org>
Subject: accessing Link key within the Bluetooth module
Date: Mon, 21 Mar 2011 14:08:07 +0530	[thread overview]
Message-ID: <4D870E6F.4050502@Atheros.com> (raw)

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

             reply	other threads:[~2011-03-21  8:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-21  8:38 Suraj Sumangala [this message]
2011-03-21 13:48 ` accessing Link key within the Bluetooth module Johan Hedberg
2011-03-22  4:29   ` Suraj Sumangala
2011-03-22 17:16     ` Gustavo F. Padovan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D870E6F.4050502@Atheros.com \
    --to=suraj@atheros.com \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.