Is there a command-line interface to list all Bluetooth devices in range on mac? [closed] Is there a command-line interface to list all Bluetooth devices in range on mac? [closed] objective-c objective-c

Is there a command-line interface to list all Bluetooth devices in range on mac? [closed]


In Terminal, the command :

system_profiler SPBluetoothDataType

gives you all the details about Bluetooth, including devices paired, with their names, MAC address. Result is unfortunately a bit too much, but with sed or grep command, you should extract what you need.