All Projects → xorbit → py-decode-beacon

xorbit / py-decode-beacon

Licence: MIT license
Python beacon (iBeacon and AltBeacon) decoder for BlueZ HCI event messages

Programming Languages

python
139335 projects - #7 most used programming language

Python beacon advertisement decoder

Copyright (c) 2015 Patrick Van Oosterwijck

Released under the MIT license.

Library

The file decode_beacon.py provides an easily extensible decoder for beacon advertisement packets as received from BlueZ HCI events. Currently it supports Apple iBeacon and the free AltBeacon specifications.

I used various sources to try to understand the BlueZ HCI packet and iBeacon formats, this is documented in the IBEACON.md file.

Examples

The file decode_test.py contains a couple of simple hardcoded test HCI packets to test the decoder.

The file bluez_scan.py contains a simple BlueZ HCI advertisement packet scanner based on this code.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].