From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH v2 1/5] doc/adapter-api: Add Discoverable option to SetDiscoveryFilter
Date: Mon, 30 Jul 2018 09:44:20 +0300 [thread overview]
Message-ID: <20180730064424.13996-1-luiz.dentz@gmail.com> (raw)
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This enables the client to set its discoverable setting while
discovering which is very typical situation as usually the setings
application would allow incoming pairing request while scanning, so
this would reduce the number of calls setting Discoverable and
DiscoverableTimeout and restoring after done with discovery.
---
doc/adapter-api.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
index d14d0ca50..4791af2c7 100644
--- a/doc/adapter-api.txt
+++ b/doc/adapter-api.txt
@@ -113,6 +113,12 @@ Methods void StartDiscovery()
generated for either ManufacturerData and
ServiceData everytime they are discovered.
+ bool Discoverable (Default: false)
+
+ Make adapter discoverable while discovering,
+ if the adapter is already discoverable this
+ setting this filter won't do anything.
+
When discovery filter is set, Device objects will be
created as new devices with matching criteria are
discovered regardless of they are connectable or
--
2.17.1
next reply other threads:[~2018-07-30 6:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-30 6:44 Luiz Augusto von Dentz [this message]
2018-07-30 6:44 ` [PATCH v2 2/5] adapter: Discovery filter discoverable Luiz Augusto von Dentz
2018-07-30 6:44 ` [PATCH v2 3/5] client: Add scan.discoverable command Luiz Augusto von Dentz
2018-07-30 10:21 ` Bastien Nocera
2018-07-30 10:45 ` Luiz Augusto von Dentz
2018-07-30 6:44 ` [PATCH v2 4/5] client: Add scan.clear discoverable Luiz Augusto von Dentz
2018-07-30 6:44 ` [PATCH v2 5/5] adapter: Fix not keeping discovery filters Luiz Augusto von Dentz
2018-07-30 10:21 ` [PATCH v2 1/5] doc/adapter-api: Add Discoverable option to SetDiscoveryFilter Bastien Nocera
2018-07-30 11:09 ` Marcel Holtmann
2018-07-30 11:43 ` Luiz Augusto von Dentz
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=20180730064424.13996-1-luiz.dentz@gmail.com \
--to=luiz.dentz@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 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).