Last Sync: 2022-05-24 19:00:04
This commit is contained in:
parent
f8481b14af
commit
15f260e152
2 changed files with 33 additions and 2 deletions
29
Linux/Bluetooth.md
Normal file
29
Linux/Bluetooth.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
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]
|
||||
```
|
|
@ -3,6 +3,8 @@ tags:
|
|||
- Linux
|
||||
---
|
||||
|
||||
# Compile package from source
|
||||
|
||||
1. Clone the repo from GitHub
|
||||
1. `cd` into the repo
|
||||
1. Run `makepkg -c`
|
||||
2. `cd` into the repo
|
||||
3. Run `makepkg -c`
|
||||
|
|
Loading…
Add table
Reference in a new issue