Closed tilmanginzel closed 4 years ago
This reverts https://github.com/tilmanginzel/alfred-bluetooth-workflow/commit/a764befa58bbdc6c969e9c54c7c0fce5a5edb12a and the consequence of invalid notification results.
The exit code of both blueutil --connect and blueutil --is-connected sometimes can yield incorrect results. As a fix we wait a second before checking the connection status.
blueutil --connect
blueutil --is-connected
@trietsch In case you want to review :)
This one also looks good. Would be good to merge this one first and then #14
This reverts https://github.com/tilmanginzel/alfred-bluetooth-workflow/commit/a764befa58bbdc6c969e9c54c7c0fce5a5edb12a and the consequence of invalid notification results.
The exit code of both
blueutil --connect
andblueutil --is-connected
sometimes can yield incorrect results. As a fix we wait a second before checking the connection status.@trietsch In case you want to review :)