Difference between revisions of "Install bluez"

From Embedded Lab Vienna for IoT & Security
Jump to navigation Jump to search
(Created page with "== Summary == Description what this documentation is about == Requirements == * Operating system: Raspbian Buster with desktop In order to complete these steps, you must...")
 
Line 11: Line 11:
== Description ==
== Description ==


=== Step 1 ===
== Step 1: Install Dependencies ===


Enter these commands in the shell
* sudo apt-get update


  echo foo
* sudo apt-get install libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev -y
  echo bar
 
== 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


=== Step 2 ===
=== Step 2 ===

Revision as of 12:59, 16 February 2020

Summary

Description what this documentation is about

Requirements

  • Operating system: Raspbian Buster with desktop

In order to complete these steps, you must have followed Some Other Documentation before.

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

Step 2

Make sure to read

  • War and Peace
  • Lord of the Rings
  • The Baroque Cycle

Used Hardware

raspberry pi 3 b+


References

  • scribles.net/