Open schontz opened 1 year ago
I am on macOS Ventura 13.2.1. On versions < 5.12, I get no bluetooth devices. On version >= 5.12, I get my name as the manufacturer.
The issue is that if device_manufacturer
is missing, it parses the manufacturer from the device_name
. Instead, it should be parsing it from device_vendorID
, e.g., as listed here.
@schontz … will provide a fix for that. Thank you for your investigation.
I have a POC that uses that table. I'll submit a PR, and if it's useful you can merge it.
I have a Bluetooth Magic Keyboard, full size.
bluetoothDevices()
gives me the following:When I run
system_profiler SPBluetoothDataType -json
, I get: