Skip to content

block[bluetooth]: allow to specify device by type instead of mac#2210

Open
mrsobakin wants to merge 1 commit intogreshake:masterfrom
mrsobakin:master
Open

block[bluetooth]: allow to specify device by type instead of mac#2210
mrsobakin wants to merge 1 commit intogreshake:masterfrom
mrsobakin:master

Conversation

@mrsobakin
Copy link
Copy Markdown

Adds the ability to use Bluetooth block without specifying concrete device's mac address. Useful for users with multiple headphones, etc.

Since when mac=None, only the first connected device is displayed, to keep different devices from colliding with each other (e.g keyboard and headphones), also allows users to filter devices by their type. icon is used as the device type, since it's easier to understand than Bluetooth's CoD bitmasks, and realistically is accurate enough for what somebody would want from this feature anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant