- A Bluetooth enabled mobile phone. Bluetooth needs to be turned on but it need'nt be discoverable once you know your phones unique bluetooth id.
- Standard issue bluetooth dongle hooked up to your pc
- Any recent GNU/Linux distro(2.6* kernel). I use Kubuntu 7.10 Gutsy Gibbon
- bluez-utils and libbluetooth-dev installed
Eg: $g++ -o sense.bin sense.cpp -lbluetooth
To Do: Integrate into system tray and a GUI with many more functions maybe.
Have been running the program for some hours in my pc now. Every time i leave the area with my phone playback stops and when I'm back, playback resumes(WWE style >:) ). Do try this one out if you can and lemme know how it goes :)
Update: Bluetooth id of device to be tracked is now specified as a command line argument.
Also now it performs an extra check if device not found just to ensure the absence of the device before taking any action. This was needed as sometimes the phone takes sometime to respond to successive queries and hence may end up not responding to some queries.
Download code from http://rapidshare.com/files/98519247/bluesense0.2.cpp.html