blob: 78d0a70e5a48bb92146f19e41d1d596d4a93dcb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
---
date: 2020-01-19 15:27
description: Connecting to Bluetooth Devices using terminal, tested on Raspberry Pi Zero W
tags: Code-Snippet, tutorial, Raspberry-Pi, Linux
---
# How to setup Bluetooth on a Raspberry Pi
*This was tested on a Raspberry Pi Zero W*
## Enter in the Bluetooth Mode
`pi@raspberrypi:~ $ bluetoothctl`
`[bluetooth]# agent on`
`[bluetooth]# default-agent`
`[bluetooth]# scan on`
## To Pair
While being in bluetooth mode
`[bluetooth]# pair XX:XX:XX:XX:XX:XX`
To Exit out of bluetoothctl anytime, just type exit
|