Skip to main content

Development Environment

Setting up dependencies

  1. sudo apt-get install python3-pip
  2. sudo pip3 install dbus-python
  3. sudo apt-get install libglib2.0-dev
  4. sudo apt-get install libgirepository1.0-dev
  5. sudo apt-get install libcairo2-dev
  6. sudo pip3 install PyGObject

BlueZ

BlueZ needs to be probably at least 5.65

https://learn.adafruit.com/install-bluez-on-the-raspberry-pi/installation

sudo apt-get install -y libusb-dev libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev python3-docutils

Testing

To test the Bluetooth connection just download the BLEScanner application. Find the BassBoost connection and check the Custom Characteristics.