From cb5d1f8109f0a6fd20d3747cd0766667118d68f1 Mon Sep 17 00:00:00 2001 From: ComputerOnFire Date: Wed, 27 May 2020 23:39:44 -0500 Subject: [PATCH] add ble support --- scripts.d/16_pkg_install.sh | 1 + scripts.d/30_bluetooth.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts.d/16_pkg_install.sh b/scripts.d/16_pkg_install.sh index cdb731a1..68db2017 100755 --- a/scripts.d/16_pkg_install.sh +++ b/scripts.d/16_pkg_install.sh @@ -34,6 +34,7 @@ INSTALL_PACKAGES=( sl mc ranger bats # unit testing + bluez-hcidump libboost-python-dev libboost-thread-dev libglib2.0-dev #ble support ) if [[ ${INSTALL_PACKAGES:-} ]] ; then diff --git a/scripts.d/30_bluetooth.sh b/scripts.d/30_bluetooth.sh index 11b6360c..98534d4c 100755 --- a/scripts.d/30_bluetooth.sh +++ b/scripts.d/30_bluetooth.sh @@ -10,3 +10,4 @@ echo "Switching bluetooth device class to 0x00010c - computer" sed -i -e 's/#Class = .*/Class = 0x00010c/g' mnt/img_root/etc/bluetooth/main.conf _pip3_install 'pybluez==0.23' +_pip3_install 'gattlib'