When the Raspberry Pi has no desktop environment, pairing Bluetooth devices requires the command line. bluetoothctl handles it.
Steps
Enter the bluetoothctl interactive mode:
| |
Enable the agent (used for handling pairing requests):
| |
Start scanning for nearby Bluetooth devices:
| |
Once the target device appears, note its MAC address, then run pair, trust, and connect in order:
| |
The trust step is important – once added, the device will automatically reconnect on the next boot without manual pairing.
