Open FeliksML opened 3 months ago
Does it not work only with that specific device? Are you able to disconnect other Pebble i345s (or is it the same device with different addresses) or other devices?
Its the same device with different addresses.
I sometimes need to disconnect this device and when I want to reconnect it appears as new device with different MAC address. I want to write script which will delete the previous connection from the bluetooth list.
Please check if other devices also can't be unpaired, for example Keychron K3
@toy I have the same problem. There's an old MacBook Air listed that I no longer own. I try to run blueutil --unpair
to remove the device from the list, but it does not work. I also can't remove the device from System Settings because it doesn't appear there. Is there any other way of removing this device from the blueutil
paired list?
@xilopaint Original issue is about not being able to unpair a device, but you have a device that is not listed by System Settings, only by blueutil --paired
which is already an issue itself.
A bit of digging suggests that there are two files for paired devices:
/Library/Bluetooth/Library/Preferences/com.apple.MobileBluetooth.devices.plist
(apparently for classic devices)/Library/Bluetooth/com.apple.MobileBluetooth.ledevices.paired.db
(by name for low energy devices)Looks like bluetooth framework does not always delete entries from the second file and there is some inconsistency in what listed by System Settings and returned by framework (and listed by blueutil).
I'm not yet sure what could be the right way to deal with this.
@toy Please let me know if I can help you to debug the issue.
blueuti --unpair not working on MacOs Sanoma. It just executes but don't change anything.
LOG:
Last login: Mon Apr 8 16:18:23 on ttys000 (base) ➜ ~ blueutil --paired address: 14-c8-8b-e7-53-74, connected (master, 0 dBm), not favourite, paired, name: "Feliks’s AirPods Max", recent access date: 2024-04-08 23:58:53 +0000 address: 88-c9-e8-35-8b-29, not connected, not favourite, paired, name: "WH-1000XM4", recent access date: 2024-04-08 23:58:53 +0000 address: a4-16-c0-95-09-7e, not connected, not favourite, paired, name: "Feliks’s AirPods Pro", recent access date: 2024-04-08 23:58:53 +0000 address: dc-2c-26-15-b8-6e, connected (master, 0 dBm), not favourite, paired, name: "Keychron K3", recent access date: 2024-04-08 23:58:53 +0000 address: d0-f9-09-96-04-cf, not connected, not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:58:53 +0000 address: 7c-61-30-9e-74-98, not connected, not favourite, paired, name: "Feliks’s Apple Watch", recent access date: 2024-04-08 23:58:53 +0000 address: d0-f9-09-96-04-cd, not connected, not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:58:53 +0000 address: d0-f9-09-96-04-d1, not connected, not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:58:53 +0000 address: d0-f9-09-96-04-d3, not connected, not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:58:53 +0000 address: d0-f9-09-96-04-d5, not connected, not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:58:53 +0000 address: xxxxxxxxxxxxx, not connected, not favourite, paired, name: "Feliks’s iPhone", recent access date: 2024-04-08 23:58:53 +0000 address: d0-f9-09-96-04-d7, connected (master, 0 dBm), not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:58:53 +0000 (base) ➜ ~ blueutil --unpair d0-f9-09-96-04-d5 (base) ➜ ~ blueutil --paired
address: 14-c8-8b-e7-53-74, connected (master, 0 dBm), not favourite, paired, name: "Feliks’s AirPods Max", recent access date: 2024-04-08 23:59:26 +0000 address: 88-c9-e8-35-8b-29, not connected, not favourite, paired, name: "WH-1000XM4", recent access date: 2024-04-08 23:59:26 +0000 address: a4-16-c0-95-09-7e, not connected, not favourite, paired, name: "Feliks’s AirPods Pro", recent access date: 2024-04-08 23:59:26 +0000 address: dc-2c-26-15-b8-6e, connected (master, 0 dBm), not favourite, paired, name: "Keychron K3", recent access date: 2024-04-08 23:59:26 +0000 address: d0-f9-09-96-04-cf, not connected, not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:59:26 +0000 address: 7c-61-30-9e-74-98, not connected, not favourite, paired, name: "Feliks’s Apple Watch", recent access date: 2024-04-08 23:59:26 +0000 address: d0-f9-09-96-04-cd, not connected, not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:59:26 +0000 address: d0-f9-09-96-04-d1, not connected, not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:59:26 +0000 address: d0-f9-09-96-04-d3, not connected, not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:59:26 +0000 address: d0-f9-09-96-04-d5, not connected, not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:59:26 +0000 address: xxxxxxxxxxxxxxxxxx, not connected, not favourite, paired, name: "Feliks’s iPhone", recent access date: 2024-04-08 23:59:26 +0000 address: d0-f9-09-96-04-d7, connected (master, 0 dBm), not favourite, paired, name: "Pebble i345", recent access date: 2024-04-08 23:59:26 +0000 (base) ➜ ~