I am trying to connect and pair a Bluetooth device from the command line. I can do it over the GUI using the standard process but I am looking to automate the whole process.
I am looking for commands that can be executed in a shell script to connect to the Bluetooth device. Just like Linux has "hcitool", "pand" commands, I am trying to find equivalent commands for macOS.
How can I accomplish this?