-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_bluetooth_sapphire: Do not scan during LE connection procedure
Remove scan during LE connection procedure. The controller already does a scan as part of connecting. Update the local address before creating an LE connection. This was a side effect of the scanning procedure previously, so this change just preserves this side effect. This behavior is already tested by adapter_test.cc. Bug: 42172291 Test: Manually tested an LE connection from Nelson to phone with $ fx shell $ bt-le-central -n Test -c and verified from the logs that the connection succeeded and no scanning took place. Change-Id: I42fca6d07c6159c50b101c001192d327596d7123 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/256052 Docs-Not-Needed: Marie Janssen <[email protected]> Reviewed-by: Marie Janssen <[email protected]> Lint: Lint 🤖 <[email protected]> Commit-Queue: Ben Lawson <[email protected]>
- Loading branch information
1 parent
2c90975
commit 8b1d112
Showing
5 changed files
with
38 additions
and
179 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
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
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