Posted: September 17th, 2010 | Author: john | Filed under: twitter | Tags: btlogger, oauth, twitter | No Comments »
Twitter pulling the plug on basic authentication meant I had to make changes to btlogger to support OAuth. Fortunately, librest made the code changes trivial. However, I ran into some problems. The clock was out of sync on the PC where btlogger runs. This caused the authenticate process to fail at the token request stage and was not easy to debug. The other issue which has been heavily documented is how to support authentication keys in FOSS. Currently configure.ac requires an edit to supply the key information. In theory I could supply the keys to somebody who wants to build the software from source until I figure out another way to handle this. I think they call this “best effort security”.
btlogger is now running from its own twitter account at: http://twitter.com/bluetoothlogger
Posted: September 6th, 2009 | Author: john | Filed under: twitter | Tags: Bluetooth, btlogger, twitter | No Comments »
I finally got around to fixing btlogger. It broke after an Ubuntu upgrade which contained BlueZ changes. Anyway, I have moved the code over to Gitorious and made a new tarball and Debian package.
Binary: http://zedstar.org/deb/btlogger_0.3.3-1_i386.deb
Tarball: http://zedstar.org/tarballs/btlogger-0.3.3.tar.gz
Repo: git clone git://gitorious.org/btlogger/btlogger.git
Take a look at the README for further information.
Posted: March 25th, 2009 | Author: john | Filed under: thumbtribes | Tags: btlogger | No Comments »
I packaged up the tarball into a debian package:
http://zedstar.org/deb/btlogger_0.3.2-1_i386.deb
After installing run btlogger –help
Posted: March 6th, 2009 | Author: john | Filed under: thumbtribes | Tags: Bluetooth, btlogger, twitter | 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
Posted: September 17th, 2008 | Author: john | Filed under: thumbtribes | Tags: beagleboard, Bluetooth, btlogger | No Comments »
I have built btlogger for the beagleboard. The ipk is available:
http://zedstar.org/beagle/btlogger_0.2.2-r0_armv7a.ipk
It requires the sqlite db some where on the device. Download:
http://projects.openmoko.org/frs/download.php/313/btlog.db
run btlogger -v to see what it does and reference the db file with -d /location/of/file
TODO:
- I am going to modify the program to log more stats.
- I should also add the database to the ipk so it installs automatically
Posted: June 8th, 2008 | Author: john | Filed under: thumbtribes | Tags: Bluetooth, btlogger | No Comments »
I have updated btlogger to allow various command line options. The software should work on any Linux system with Bluetooth. There is a packaged version for Openmoko:
https://projects.openmoko.org/plugins/wiki/index.php?btlogger&id=136&type=g
and a binary for the Nokia Tablet:
http://zedstar.org/chinook/btlogger
An empty database can be dowloaded from here:
http://projects.openmoko.org/plugins/scmcvs/cvsweb.php/thumbtribes_project/misc/btlog.db?cvsroot=thumbtribes