diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-05-26 23:58:29 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-05-26 23:58:29 +0530 |
commit | bfd3a825c2d73bd842769cdfaf11ad0319a3bd6e (patch) | |
tree | 7b2c052bdf539f433ed3ab6bd133b6d46c7ff7e5 /Content/posts/2020-01-19-Connect-To-Bluetooth-Devices-Linux-Terminal.md | |
parent | 2cb28c0dd749611e6edd4688955769bda3381453 (diff) |
added code and content
Diffstat (limited to 'Content/posts/2020-01-19-Connect-To-Bluetooth-Devices-Linux-Terminal.md')
-rw-r--r-- | Content/posts/2020-01-19-Connect-To-Bluetooth-Devices-Linux-Terminal.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Content/posts/2020-01-19-Connect-To-Bluetooth-Devices-Linux-Terminal.md b/Content/posts/2020-01-19-Connect-To-Bluetooth-Devices-Linux-Terminal.md new file mode 100644 index 0000000..78d0a70 --- /dev/null +++ b/Content/posts/2020-01-19-Connect-To-Bluetooth-Devices-Linux-Terminal.md @@ -0,0 +1,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 |