blueutil icon indicating copy to clipboard operation
blueutil copied to clipboard

Can't connect/disconnect by device name on Monterey

Open malcolmsailor opened this issue 2 years ago • 2 comments

Hi, since upgrading to Monterey, I can no longer use device names (e.g., 'STR-DH190') with commands like blueutil --connect or blueutil --disconnect. This isn't a huge problem since addresses like 3c-91-80-1a-e6-ba still work.

FWIW I also have the same issue with --disconnect mentioned in #58 ; either of the workarounds (adding --info or --wait-disconnect) mentioned in that thread work.

malcolmsailor avatar Dec 09 '21 00:12 malcolmsailor

Having the same issue on Sonoma

deeeeekun avatar Jan 27 '24 04:01 deeeeekun

@deeeeekun If you list recent devices (blueutil --recent), do you see the name that you use?

toy avatar Jan 27 '24 11:01 toy

@toy No, it doesn't show either

deeeeekun avatar Jan 29 '24 08:01 deeeeekun

You mean the list is empty or there are no names? What about blueutil --paired? For now only recent connected devices are used for device names, so if the list is empty or no names, blueutil will not be able to have devices referenced by name.

toy avatar Jan 29 '24 21:01 toy

The device (and device name) shows up in blueutil --paired. blueutil --recent returns an empty list, even though I have just connected to it (using the address).

deeeeekun avatar Feb 02 '24 16:02 deeeeekun

Looks like a good idea to make that blueutil first checks paired devices for names. Though absence of recent devices must be a bug, framework, or os installation/state issue.

toy avatar Feb 03 '24 13:02 toy