* [PATCH BlueZ 1/3] doc/adapter-api: Add pattern filter
@ 2020-02-20 0:28 Luiz Augusto von Dentz
0 siblings, 0 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2020-02-20 0:28 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This adds a pattern filter which can be used to filter devices by
address or name prefix which is quite convenient on a crowded
environment.
---
doc/adapter-api.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
index 2afd61bc3..acae032d9 100644
--- a/doc/adapter-api.txt
+++ b/doc/adapter-api.txt
@@ -119,6 +119,21 @@ Methods void StartDiscovery()
if the adapter is already discoverable setting
this filter won't do anything.
+ string Pattern (Default: none)
+
+ Discover devices where the pattern matches
+ either the prefix of the address or
+ device name which is convenient way to limited
+ the number of device objects created during a
+ discovery.
+
+ When set disregards device discoverable flags.
+
+ Note: The pattern matching is ignored if there
+ are other client that don't set any pattern as
+ it work as a logical OR, also setting empty
+ string "" pattern will match any device found.
+
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.21.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH BlueZ 1/3] doc/adapter-api: Add pattern filter
2020-02-20 0:28 Luiz Augusto von Dentz
@ 2020-02-26 17:36 ` Luiz Augusto von Dentz
0 siblings, 0 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2020-02-26 17:36 UTC (permalink / raw)
To: linux-bluetooth
Hi,
On Wed, Feb 19, 2020 at 4:28 PM Luiz Augusto von Dentz
<luiz.dentz@gmail.com> wrote:
>
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> This adds a pattern filter which can be used to filter devices by
> address or name prefix which is quite convenient on a crowded
> environment.
> ---
> doc/adapter-api.txt | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
> index 2afd61bc3..acae032d9 100644
> --- a/doc/adapter-api.txt
> +++ b/doc/adapter-api.txt
> @@ -119,6 +119,21 @@ Methods void StartDiscovery()
> if the adapter is already discoverable setting
> this filter won't do anything.
>
> + string Pattern (Default: none)
> +
> + Discover devices where the pattern matches
> + either the prefix of the address or
> + device name which is convenient way to limited
> + the number of device objects created during a
> + discovery.
> +
> + When set disregards device discoverable flags.
> +
> + Note: The pattern matching is ignored if there
> + are other client that don't set any pattern as
> + it work as a logical OR, also setting empty
> + string "" pattern will match any device found.
> +
> 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.21.1
Applied.
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH BlueZ 1/3] doc/adapter-api: Add pattern filter
@ 2020-02-20 0:28 Luiz Augusto von Dentz
2020-02-26 17:36 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2020-02-20 0:28 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This adds a pattern filter which can be used to filter devices by
address or name prefix which is quite convenient on a crowded
environment.
---
doc/adapter-api.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
index 2afd61bc3..acae032d9 100644
--- a/doc/adapter-api.txt
+++ b/doc/adapter-api.txt
@@ -119,6 +119,21 @@ Methods void StartDiscovery()
if the adapter is already discoverable setting
this filter won't do anything.
+ string Pattern (Default: none)
+
+ Discover devices where the pattern matches
+ either the prefix of the address or
+ device name which is convenient way to limited
+ the number of device objects created during a
+ discovery.
+
+ When set disregards device discoverable flags.
+
+ Note: The pattern matching is ignored if there
+ are other client that don't set any pattern as
+ it work as a logical OR, also setting empty
+ string "" pattern will match any device found.
+
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.21.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-26 17:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-20 0:28 [PATCH BlueZ 1/3] doc/adapter-api: Add pattern filter Luiz Augusto von Dentz
2020-02-20 0:28 Luiz Augusto von Dentz
2020-02-26 17:36 ` Luiz Augusto von Dentz
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).