INTRODUCTION
============

cricketd is a lightweight TCP server derived from gpsd.  It allows
multiple applications to connect to a Cricket device via serial port.
For each Cricket message from the Listener, cricketd will also append a
LT value, which is a millisecond message timestamp from the clock of the
host machine.  cricketd records the message timestamp as soon as it
detects the "VR=" prefix of the corresponding Cricket message as it is
being read from the serial port.

COMPILE
=======

(In Linux or cygwin >= v1.5.10)

autoconf
./configure
make

(Cross compilation for IPAQ)

1. install toolchain 2.95 from handhelds.org
(http://handhelds.org/download/toolchain/cross-2.95-3.tar.bz2)

2. unpack file in / directory

3. make clean; make -f Makefile.arm

EXECUTION
=========

1. make sure you are running with root/administrator privilege
2. ./cricketd -h (for help)
3. ./cricketd -p SERIAL_PORT -s 115200 

where SERIAL_PORT is usually

/dev/ttyS0  in cygwin or linux
/dev/ttySA0 in ipaq

Note that since cygwin version 1.5, /dev/ttyS0 is used in place of COM1.

Please consult your local system administrator for help with finding the
correct port device.

CONNECTING/RECEIVING MESSAGES
=============================

1.  telnet HOST_IP_ADDR 2947 (or open a TCP connection)
2.  type 'r' to enable or disable the connection (or send 'r' over 
    your TCP socket)
3.  After connecting (and powering the crickets), 
  a) you should start receiving Cricket messages, if the host is 
     connected to a listener
  b) you may enter Cricket command+ENTER to manipulate the device









