eolas/Linux/Procedural/Bluetooth.md

30 lines
402 B
Markdown
Raw Normal View History

2022-05-24 19:00:04 +01:00
---
tags:
- Linux
- networking
---
# Bluetooth
## Connect to devices with `bluetoothctl`
```bash
# Start bluetooth first
bluetoothctl power on
```
Then:
```bash
# Launch bluetoothctl
bluetoothctl
```
This initiates `[bluetooth] #` prompt. Then follow this sequence:
```bash
[bluetooth]# agent on
[bluetooth]# default-agent
[bluetooth]# scan on
pair [device_code]
connect [device_code]
```