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 exclusion filters to requestDevice for usb connections #28

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

microbit-robert
Copy link
Contributor

Use existing name field to filter Web Bluetooth devices.

@@ -119,10 +120,38 @@ const createConnectSection = (type: ConnectionType): Section => {
},
}),
),
type === "usb"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have once again made this demo messier. Ideas for improvement are welcome.

@microbit-matt-hillsdon microbit-matt-hillsdon merged commit db3a7e5 into main Sep 11, 2024
2 checks passed
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the exclusion-filters branch September 11, 2024 11:53
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