diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-02-19 14:58:33 -0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-02-19 14:58:33 -0800 |
commit | 50261df73c7408d22f8dcbb0ce6a45ca6e6d0147 (patch) | |
tree | 6dc19704e8b0370e8c65b174333f076622183cb9 /doc/adapter-api.txt | |
parent | ae5be371a9f53fed33d2b34748a95a5498fd4b77 (diff) | |
download | bluez-50261df73c7408d22f8dcbb0ce6a45ca6e6d0147.tar.gz |
doc/adapter-api: Add pattern filter
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.
Diffstat (limited to 'doc/adapter-api.txt')
-rw-r--r-- | doc/adapter-api.txt | 15 |
1 files changed, 15 insertions, 0 deletions
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 |