Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 'scan clear' command to console.py #52

Merged

Conversation

mogenson
Copy link
Collaborator

Add command to clear scan results and known addresses. Useful for determining if a peripheral has stopped advertising.

Also, check if a scan is in progress before connecting. If it is, stop scanning. Some BT controllers will fail to connect while scanning.

Testing:
Can clear scan results before, during, and after scan. Can clear scan results while disconnected and connected.

Add command to clear scan results and known addresses. Useful for
determining if a peripheral has stopped advertising.

Also, check if a scan is in progress before connecting. If it is, stop
scanning. Some BT controllers will fail to connect while scanning.

Testing:
Can clear scan results before, during, and after scan. Can clear scan
results while disconnected and connected.
@mogenson mogenson merged commit 8ed1f4b into google:main Oct 21, 2022
@mogenson mogenson deleted the mogenson/console-py-clear-scan-results branch October 21, 2022 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants