-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[linux] Remove known devices before running BLE scan (#5946)
* [python] Remove known devices before running BLE scan Linux BLE layer tries to connect to known devices, cached by Bluez daemon before running the active scan. It may cause an issue when trying to connect to a device which is no longer advertising or it has changed its BLE address which can be especially painful after enabling features like BLE address randomization. Remove known devices before running an active BLE scan. * Restyled by clang-format Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
1 parent
dada1be
commit 4d7fd4d
Showing
2 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters