mirror of
https://github.com/DanielPollithy/bluetooth_drone.git
synced 2025-10-16 11:45:38 +00:00
30 lines
720 B
Bash
30 lines
720 B
Bash
sudo apt-get install python-pip python-dev ipython
|
|
sudo apt-get install bluetooth libbluetooth-dev
|
|
|
|
sudo pip install pybluez
|
|
# Install python package
|
|
git clone https://github.com/ewenchou/bluetooth-proximity.git
|
|
cd bluetooth-proximity
|
|
sudo python setup.py install
|
|
|
|
|
|
|
|
|
|
# for low power bluetooth development
|
|
# sudo apt-get install libboost-thread-dev
|
|
# sudo apt-get install libperl-dev
|
|
# was necessary
|
|
# sudo apt-get update --fix-missing
|
|
# sudo apt-get install libgtk2.0-dev
|
|
# sudo pip install gattlib
|
|
# sudo apt-get install mercurial
|
|
# hg clone https://bitbucket.org/OscarAcena/pygattlib
|
|
# cd pygattlib
|
|
|
|
|
|
|
|
|
|
|
|
git clone https://github.com/ewenchou/bluetooth-proximity.git
|
|
cd bluetooth-proximity
|
|
sudo python setup.py install |