Skip to content

Invalid arguments in method call for SetDiscoveryFilter with RSSI #23

@Delapouite

Description

@Delapouite

Hello

I experience a DBusError: Invalid arguments in method call when I try to specify the RSSI threshold in the SetDiscoveryFilter of an adapter:

await adapter.SetDiscoveryFilter({ RSSI: 5 });

The getDiscoveryFilters returns the following array, showing RSSI as a valid filter :
[ 'UUIDs', 'RSSI', 'Pathloss', 'Transport', 'DuplicateData', 'Discoverable', 'Pattern' ]

Is there anything that should be done to pass numbers properly? For example, specifying a boolean filter works as intented:

await adapter.SetDiscoveryFilter({ DuplicateData: true });

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions