Installing and testing Bluetooth

With inspiration from LinuxUser (www.linuxuser.co.uk), issue 193 (2018)

1. Update the RasPi to the latest SW: sudo apt-get update
sudo apg-upgrade -y
sudo apt-get dist-upgrade -y
sudo rpi-update
2. Install common bluetooth support: sudo apt-get install pi-bluetooth The Bluetooth support can be tested via bluetoothctl bluetoothctl

power on
Changing power on succeeded
agent on
Agent registered
scan on
Discovery started
...

Installing and testing Python Bluetooth support

Install PyBluez sudo apt-get install python-bluez