Bluetooth CLI

Forums:

Ref:https://lifehacker.com/everything-you-need-to-set-up-bluetooth-on-the-ra...

From the command line, type in bluetoothctl to launch the Bluetooth tool. From here, you have a bunch of commands you can run, but connecting to a device is pretty straightforward:

From the bluetoothctl tool, type in power on to make sure Bluetooth is on.
Type in agent on to make sure Bluetooth is running.
Type in scan on to start searching for nearby Bluetooth devices.
You should see all your various Bluetooth devices pop up with their MAC address (it’s the number shown on the screen next to the device name, usually something like “50:54:B4:45:00:EB”). Make a note of the MAC address for the device you want to pair with your Raspberry Pi.
Type connect followed by the MAC address, like connect 50:54:B4:45:00:EB
With that, your device should be paired. Go ahead and go through that process for each of the Bluetooth devices you want to set up. Head over to Element 14 for a more in-depth look at the setup process and a walkthrough for using the Raspbian GUI.