Implement ScanFilter (#17)

* Implement ScanFilter

* Add windows implementation

* Fix Linux and cleanups

* Update Readme, Changelog and Version

* Minor fixes from AI comments

* Fix windows crash and update pigeon

* Fix UUID parsing

* Apply suggestions from code review

Co-authored-by: Foti Dim <foti@navideck.com>

---------

Co-authored-by: Foti Dim <foti@navideck.com>
This commit is contained in:
Rohit Sangwan
2024-03-05 22:37:14 +05:30
committed by GitHub
parent 7e47be374b
commit 1f7ba287ef
28 changed files with 546 additions and 118 deletions
+4 -1
View File
@@ -23,7 +23,10 @@ class MockUniversalBle extends UniversalBlePlatform {
]);
@override
Future<void> startScan({WebRequestOptionsBuilder? webRequestOptions}) async {
Future<void> startScan({
WebRequestOptionsBuilder? webRequestOptions,
ScanFilter? scanFilter,
}) async {
onScanResult?.call(_mockBleScanResult);
}