BlueTooth Caller ID
-------------------

Program that connects to a Bluethooth-telephone 
and displays status on screen using libxosd[1].

btcid was developed with a Ericsson T68 using the bluez[2] bluetooth-stack.
Please report if you test it with other phones. Not all phones support
reporting the name of the caller, and only reports the number.

Reported to work on the following phones:
 * Ericsson T39
 * (Sony) Ericsson T68(i)
 * Sony Ericsson P800
 * Nokia 6310

btcid recognizes the following options:
 -p port  --port port             device to attach to
 -c cmd   --command cmd           command to execute on call
 -V       --version               display version and exit
 -v       --verbose               be verbose
 -f       --font                  specify font  (default: "fixed")
 -a       --fontcolor             set fontcolor (default: "LawnGreen")
 -d       --daemonize             fork to background
 -t       --timeout               set OSD timeout

A port for communication with the phone must be specified. It should
be a rfcomm-device.

The command is executed on both incomming and outgoing calls. The
command is executed synchronosly, so it must return immediatly!

Note that the initialization takes a couple of seconds.

Quick howto:
* Make sure bluetooth is enabled on the phone.
* Attach your phone to a rfcomm-device.
* Start btcid, specifing the device.

Examples:
 btcid -p /dev/bluetooth/rfcomm/0
 btcid -p /dev/bluetooth/rfcomm/0 -c 'xmms --pause'

Don't hesitate to contact me with bugreports and love-letters:
Anders Gustafsson
andersg@0x63.nu
http://0x63.nu/

[1] http://www.ignavus.net/software.html
[2] http://bluez.sourceforge.net/
