Skip to content

Filtering discovery by Service/UUID not working on (some?) Linux #454

@andrewdavidmackenzie

Description

@andrewdavidmackenzie

Describe the bug
I start a scan with adapter.start_scan()
and then loop discoverying BT devices with adapter.peripherals().

It discovers all BT devices, not just those with the matching UUID.

This happens on PopOS! and PiOS

Expected behavior
It only reports devices matching the UUID.

Actual behavior
Reports all BT devices

Additional context
Here is the code and the UUID used (that filters correctly on macOS):
https://github.com/andrewdavidmackenzie/meshchat/blob/main/src/discovery.rs
for MeshTastic radios.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions