linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Andre Guedes <andre.guedes@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH v5 3/6] Bluetooth: Add hci_do_le_scan()
Date: Fri, 03 Feb 2012 13:15:18 -0800	[thread overview]
Message-ID: <1328303718.2062.48.camel@aeonflux> (raw)
In-Reply-To: <1328302082-17405-3-git-send-email-andre.guedes@openbossa.org>

Hi Andre,

> This patch adds to hci_core the hci_do_le_scan function which
> should be used to scan LE devices.
> 
> In order to enable LE scan, hci_do_le_scan() sends commands (Set
> LE Scan Parameters and Set LE Scan Enable) to the controller and
> waits for its results. If commands were executed successfully a
> delayed work is scheduled to disable the ongoing scanning after
> some amount of time. This function blocks.
> 
> Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
> ---
>  include/net/bluetooth/hci_core.h |    8 ++++
>  net/bluetooth/hci_core.c         |   74 ++++++++++++++++++++++++++++++++++++++
>  net/bluetooth/hci_event.c        |   13 +++++--
>  3 files changed, 92 insertions(+), 3 deletions(-)

Acked-by: Marcel Holtmann <marcel@holtmann.org>

Regards

Marcel



  reply	other threads:[~2012-02-03 21:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-03 20:47 [PATCH v5 1/6] Bluetooth: LE scan should send Discovering events Andre Guedes
2012-02-03 20:47 ` [PATCH v5 2/6] Bluetooth: Minor code refactoring Andre Guedes
2012-02-03 20:47 ` [PATCH v5 3/6] Bluetooth: Add hci_do_le_scan() Andre Guedes
2012-02-03 21:15   ` Marcel Holtmann [this message]
2012-02-03 20:48 ` [PATCH v5 4/6] Bluetooth: Add hci_le_scan() Andre Guedes
2012-02-03 20:48 ` [PATCH v5 5/6] Bluetooth: MGMT start discovery LE-Only support Andre Guedes
2012-02-03 20:48 ` [PATCH v5 6/6] Bluetooth: Fix indentation Andre Guedes
2012-02-03 21:45 ` [PATCH v5 1/6] Bluetooth: LE scan should send Discovering events Johan Hedberg

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=1328303718.2062.48.camel@aeonflux \
    --to=marcel@holtmann.org \
    --cc=andre.guedes@openbossa.org \
    --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 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).