Skip to content

Add ScanFilter to Central::start_scan() #208

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

Merged
merged 1 commit into from
Oct 2, 2021
Merged

Conversation

paroga
Copy link
Contributor

@paroga paroga commented Sep 3, 2021

The requestDevice method from WebBluetooth requires a list of service uuids to allow access to characteristics. See the code of #204 for more details.

@qwandor
Copy link
Collaborator

qwandor commented Sep 4, 2021

Are you able to implement this on MacOS and Windows too?

@paroga
Copy link
Contributor Author

paroga commented Sep 5, 2021

Most of the work for the macOS port is already done and there are only a few lines of code missing. Only a NSArray with the Uuids needs to be set, but I don't have any ObjC experience, to know how to handle the ownership correctly. I could try to get it compile, but unfortunately I don't have a physical machine to test it on.

@qwandor qwandor merged commit 6968597 into deviceplug:dev Oct 2, 2021
@qwandor
Copy link
Collaborator

qwandor commented Oct 2, 2021

If you can send another PR for the MacOS implementation that at least compiles and looks correct, I can test it on my machine.

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