Skip to content

fix: wrap bluetoothctl calls for BlueZ >= 5.86 compatibility#45

Open
andyhunne wants to merge 1 commit intonickclyde:masterfrom
andyhunne:fix/bluez-586-compat
Open

fix: wrap bluetoothctl calls for BlueZ >= 5.86 compatibility#45
andyhunne wants to merge 1 commit intonickclyde:masterfrom
andyhunne:fix/bluez-586-compat

Conversation

@andyhunne
Copy link
Copy Markdown

BlueZ 5.86 broke non-interactive bluetoothctl subcommand invocations (e.g. 'bluetoothctl show' returns no output). This adds a _bluetoothctl() wrapper that pipes commands via stdin, which works on both old and new versions. Fixed output formatting from previous version.

BlueZ 5.86 broke non-interactive bluetoothctl subcommand invocations
(e.g. 'bluetoothctl show' returns no output). This adds a _bluetoothctl()
wrapper that pipes commands via stdin, which works on both old and new
versions.
@alexjayclark
Copy link
Copy Markdown

I was going to suggest the same - came up with a similar solution of wrapping and it fixed for me!

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.

3 participants