Windows filter with services issue
On ios and android if i set list of services to scan ScanFilter like that:
List<String> allScanningServices = [
"0000fae5-0000-1000-8000-00805f9b34fb",
"6e400001-b5a3-f393-e0a9-e50e24dcca9e",
];
UniversalBle.startScan(
scanFilter: ScanFilter(
withServices: allScanningServices
),
)
Application accept all devices which got any of listed services. But on windows it get device only if there is one service in list, and device got this service (i do not tried when device has all services from list). I need to find devices with any of these services, but olnly way on windows is to scan without this filter. This issue is in library since I remember.
@Wicz3k please try with version 0.13 which was released earlier today.
@fotiDim I tried also on new version and nothing changed. Last update make me to reviev my code and I found that I do not use this filter on windows, cause this problem. I filter device after detect them.
@Wicz3k is that resolved then? Can this be closed?
@fotiDim No, nothing changed. I still need workaround to detect my devices on windows. Workaround is to not use filter on windows and filter devices after detect them.
@Wicz3k are you only using service filter ? If yes, try to add one more filter like Name filter, This will help us to narrow down the issue After applying one more filter, Left us know if its working as expected or not
@rohitsangwan01 If I add any name prefix which does not exist near me it works as expected.
@Wicz3k Thank you for your cooperation. We'll resolve this issue in the next update. In the meantime, you can use a workaround by adding a random name prefix filter.
@Wicz3k fixed in https://github.com/Navideck/universal_ble/pull/111
Released in 0.14.0