connect bluetooth device from cli
We use bluetoothctl tool which is command-line to BlueZ
1
$ sudo bluetoothctl
Copied!
Enable authentication agent
1
[bluetooth]# agent on
Copied!
Run the scan process
1
[bluetooth]# scan on
Copied!
Pair with the device
1
[bluetooth]# pair 00:25:56:D1:36:6B
Copied!
Connect to the device
1
[bluetooth]# connect 00:25:56:D1:36:6B
Copied!
Last modified 1mo ago
Copy link