BAESLab / Python-BLE

6 stars 6 forks source link

Python-BLE

install dependencies

 $ sudo apt-get update
 $ sudo apt-get install build-essential bluez python-dev python-pip -y
 $ sudo apt-get install pkg-config libboost-python-dev libboost-thread-dev libbluetooth-dev libglib2.0-dev python-dev -y

install Python Modules

 $ sudo pip install gattlib

try example: scan iBeacon Data

 $ sudo python ble-scan.py