Bluetooth logging to Twitter with btlogger

Posted: March 6th, 2009 | Author: | Filed under: thumbtribes | Tags: , , | 5 Comments »

I decided to hack my Bluetooth logger so that it could post any new devices it saw to my Twitter account. This should be interesting once I get it setup on my desk at work! After moving to Intrepid Ibex I realised the changes in BlueZ versions borked my software. It took me a while to figure out what needed to be fixed. Anyway, these changes and Twitter hack are available as a tarball here:

zedstar.org/tarballs/btlogger-0.3.2.tar.gz

The tarball should install an sqlite db file in /var/lib/misc but you can move it else where if you don’t want to run as root. If you supply a username and password on the command line it will try and post the scan results to Twitter like:

http://twitter.com/jptmoore

To see the command line options run btlogger –help


5 Comments on “Bluetooth logging to Twitter with btlogger”

  1. 1 lululychee said at 2:23 pm on September 6th, 2009:

    hi, i am trying to use this hack that you have so graciously provided.. but i can’t open the db file and i’m not sure how to make it work.. sorry, i’m new to this… would you be able to break it down a bit more for me please?
    any help u can give me would be greatly appreciated!
    Thank you!
    Lulu

  2. 2 john said at 5:06 pm on September 6th, 2009:

    Hi, it depends on the system you are using. I just did some fixes to the code and will release a new version. I will email you to see if I can help you get it running.

  3. 3 lululychee said at 6:30 pm on September 6th, 2009:

    Thanks so much! I am asking because I am trying to develop a GPS + maybe bluetooth feed on local public transport — ultimately this would use GPS to show location relevant blogs from local businesses on a bus route… it may be too ambitious… i don’t know yet.
    Looking forward to your email.
    L*

  4. 4 lululychee said at 6:33 pm on September 6th, 2009:

    (I am using Vista at the moment since Sun Java Wireless Toolkit (another aspect of my project) doesn’t have a Mac OS X version yet. is that what you are referring to when you ask which system?)

  5. 5 john said at 7:33 pm on September 6th, 2009:

    Ah okay, unfortunately this is software specifically developed for Linux. If you have access to a PC with Ubuntu it should be possible to get it running.


Leave a Reply

You must be logged in to post a comment.