You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, service_uuid filtering does work in Windows?
I try to filter on: service_uuids = ['0000fef3-0000-1000-8000-00805f9b34fb']
like this:
...
service_uuids = ['0000fef3-0000-1000-8000-00805f9b34fb']
# Without filter
async with Scanner(service_uuids=None) as scanner:
await asyncio.sleep(10)
self.show_scan_result(
scanner.discovered_devices_and_advertisement_data
)
# With filter
async with Scanner(service_uuids=service_uuids) as scanner:
await asyncio.sleep(10)
self.show_scan_result(
scanner.discovered_devices_and_advertisement_data
)
...
(where show_scan_results is a method to display the results).
However, I can't see a difference in the devices beeing found, and some of them don't have the service uuid in their AdvertisementData.
Tested with 0.21.1 and 0.22.1 on Windows 10.
Am I doing something wrong or do I misunderstand the concept of service UUID filtering?
This is a follow-up to a818521 ("backends/scanner: always filter by
service_uuids") to also filter discovered devices by the service UUIDs.
This was overlooked in that change and on Windows actually caused a
regression.
Fixes: #1576
This is a follow-up to a818521 ("backends/scanner: always filter by
service_uuids") to also filter discovered devices by the service UUIDs.
This was overlooked in that change and on Windows actually caused a
regression.
Fixes: #1576
So, service_uuid filtering does work in Windows?
I try to filter on:
service_uuids = ['0000fef3-0000-1000-8000-00805f9b34fb']
like this:
(where
show_scan_results
is a method to display the results).However, I can't see a difference in the devices beeing found, and some of them don't have the service uuid in their AdvertisementData.
Tested with 0.21.1 and 0.22.1 on Windows 10.
Am I doing something wrong or do I misunderstand the concept of service UUID filtering?
Originally posted by @MarkusPiotrowski in #1534 (comment)
The text was updated successfully, but these errors were encountered: