btleplug icon indicating copy to clipboard operation
btleplug copied to clipboard

ScanFilter on Windows

Open hansmbakker opened this issue 3 years ago • 1 comments
trafficstars

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

hansmbakker avatar Feb 18 '22 22:02 hansmbakker

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.

hansmbakker avatar Feb 18 '22 22:02 hansmbakker