Sudo apt-get install python3-dev libbluetooth-dev libcap2-bin # grant the python executable permission to access raw socket data On a typical Linux installation, it would look like this: # install libbluetooth headers and libpcap2 Second, you need raw socket access (via Linux capabilities, or by running as root). If you want to perfom beacon scanning there are a few more requirements.įirst of all, you need a supported OS: currently that’s Linux with BlueZ, and FreeBSD. If you only want to use the parser install the library using pip and you’re good to go: pip3 install beacontools The BeaconTools library has two main components:Ī parser to extract information from raw binary beacon advertisementsĪ scanner which scans for Bluetoth LE advertisements using bluez and can be configured to look only for specific beacons or packet types A Python library for working with various types of Bluetooth LE Beacons.Įstimote Beacons (Telemetry and Nearable)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |