deviceplug / btleplug

Rust Cross-Platform Host-Side Bluetooth LE Access Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ScanFilter on Windows

hansmbakker opened this issue · comments

The ScanFilter is part of the API, but is not implemented on windows.
It would be nice log a warning that it is not implemented when a non-default ScanFilter is supplied, or when it was implemented

I guess it should be possible by modifying the watcher property of the Adapter using the pattern at https://stackoverflow.com/a/49878820/1114918.

I'm still a beginner with Rust, so I'm reluctant to make a PR, sorry.