toy / blueutil

CLI for bluetooth on OSX: power, discoverable state, list, inquire devices, connect, info, …
https://github.com/toy/blueutil
Other
1.01k stars 53 forks source link

Blueutil 'paired', 'recent' did not work - Until Checking Discoverable #89

Open NelsonScott opened 5 months ago

NelsonScott commented 5 months ago

Steps to Reproduce: 1) Install blueutil w/ homebrew on mac Sonoma 2) Try to see paired, recent. Get no results. 3) Check discoverable 4) Now paired seems to work

~ » blueutil --paired                                                                                                                                                                                                               08:24:04
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~ » blueutil recent                                                                                                                                                                                                                 08:24:21
Unexpected arguments: recent
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~ » blueutil --recent                                                                                                                                                                                                               08:24:28
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~ » blueutil --recent                                                                                                                                                                                                               08:24:33
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
~ » blueutil --discoverable                                                                                                                                                                                                         08:24:47
0
toy commented 5 months ago

As far as I know osx is not remembering recent devices since some versions ago, but listing paired should work as long as terminal has bluetooth permission. Also discoverable should work even without bluetooth permission.

Can you repeatedly reproduce it (after reinstalling blueutil or restart) or did it just not work one after installing blueutil?

NelsonScott commented 5 months ago

So i only did it once, this was a fresh install. Just provided what I did in case someone wants to reproduce.

Just checking again and yeah recent seems to never return anything (should it? if not might want to make that clear), but 'paired' does work now normally.

On Sun, Apr 7, 2024 at 6:57 AM Ivan Kuchin @.***> wrote:

As far as I know osx is not remembering recent devices since some versions ago, but listing paired should work as long as terminal has bluetooth permission. Also discoverable should work even without bluetooth permission.

Can you repeatedly reproduce it (after reinstalling blueutil or restart) or did it just not work one after installing blueutil?

— Reply to this email directly, view it on GitHub https://github.com/toy/blueutil/issues/89#issuecomment-2041428775, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB637VC7MNMKKTKPKOHHMFLY4EQ77AVCNFSM6AAAAABF223PHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGQZDQNZXGU . You are receiving this because you authored the thread.Message ID: @.***>

toy commented 5 months ago

Good point about mentioning that recent is not recorded by os

Concerning paired - probably better to let the issue stay open for few weeks if someone has it too