Install BlueZ: Difference between revisions
(→Step 2) |
NKirnbauer (talk | contribs) m (NKirnbauer moved page Install bluez to Install BlueZ) |
||
| (8 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
== Summary == | == Summary == | ||
This documentation describes how to install bluez (gatttool hcitool) on raspberrypi 3b+ | |||
== Requirements == | == Requirements == | ||
* Operating system: Raspbian Buster with desktop | * Operating system: Raspbian Buster with desktop | ||
== Description == | == Description == | ||
== Step 1: Install Dependencies === | === Step 1: Install Dependencies === | ||
* sudo apt-get update | * sudo apt-get update | ||
| Line 17: | Line 15: | ||
* sudo apt-get install libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev -y | * sudo apt-get install libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev -y | ||
== Step 2: Install BlueZ === | === Step 2: Install BlueZ === | ||
=== Download BlueZ source code === | === Download BlueZ source code === | ||
| Line 38: | Line 36: | ||
sudo make install | sudo make install | ||
=== Reboot Raspberry Pi 3=== | === Reboot Raspberry Pi 3 === | ||
sudo reboot | sudo reboot | ||
=== Verify version === | |||
bluetoothctl -v | bluetoothctl -v | ||
| Line 48: | Line 46: | ||
== Used Hardware == | == Used Hardware == | ||
raspberry pi 3 b+ | |||
== References == | == References == | ||
* scribles.net/ | * https://scribles.net/ | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
Latest revision as of 09:49, 23 October 2024
Summary
This documentation describes how to install bluez (gatttool hcitool) on raspberrypi 3b+
Requirements
- Operating system: Raspbian Buster with desktop
Description
Step 1: Install Dependencies
- sudo apt-get update
- sudo apt-get install libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev -y
Step 2: Install BlueZ
Download BlueZ source code
wget www.kernel.org/pub/linux/bluetooth/bluez-5.52.tar.xz
Uncompress the downloaded file
tar xvf bluez-5.52.tar.xz && cd bluez-5.52
Configure
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-experimental
Compile the source code
make -j4
Install
sudo make install
Reboot Raspberry Pi 3
sudo reboot
Verify version
bluetoothctl -v
Used Hardware
raspberry pi 3 b+