connect bluetooth device from cli
We use bluetoothctl tool which is command-line to BlueZ
$ sudo bluetoothctlEnable authentication agent
[bluetooth]# agent onRun the scan process
[bluetooth]# scan onPair with the device
[bluetooth]# pair 00:25:56:D1:36:6BConnect to the device
[bluetooth]# connect 00:25:56:D1:36:6Bmore information https://docs.ubuntu.com/core/en/stacks/bluetooth/bluez/docs/reference/pairing/outbound
Last updated
Was this helpful?