bluetracker Code
Status: Alpha
Brought to you by:
xlele
File | Date | Author | Commit |
---|---|---|---|
README | 2008-05-20 | xlele | [r1] First commit |
backend.py | 2008-05-20 | xlele | [r1] First commit |
bluetracker.py | 2008-05-20 | xlele | [r1] First commit |
configuration.py | 2008-05-20 | xlele | [r1] First commit |
createDB.py | 2008-05-20 | xlele | [r1] First commit |
eventsManager.py | 2008-05-20 | xlele | [r1] First commit |
rss.py | 2008-05-20 | xlele | [r2] oops... |
0. About bluetracker Bluetracker is a simple discovery and tracking engine for bluetooth devices written in python. Bluetracker will load all collected data inside a sqlite3 db, allowing you to access and use them at your will. The bluetracker engine will keep track of discovered devices (basing on their address), bluetooth events (discovery and disappearing) and presence. It will also collect bluetooth names for each discovered device. With the bluetracker engine, a sample (and simple!) application is provided (rss.py). You can use this application in order to have a rss feed of bluetooth devices in range. 1. Requirements - Linux - sqlite3 - dbus daemon - python 2.5 - python dbus-glib - pysqlite2 (versions above was used for testing; probably earlier versions will work) 2. Installation / Start Simply extract all files in a directory and issue: #python bluetracker.py use #nohup bluetracker.py & to start in background (and daemonize) 3. rss.py (sample application) If you want to have an rss feed showing name and address of devices in range, you will need a webserver (any webserver able to execute python scripts will do). You just have to copy "backend.py", "configuration.py" and "rss.py" inside the cgi-bin folder of your webserver and to point your browser (or rss reader, or _screensaver_) to the script public url.