FILES
=====

The following set of data were used in Allen Miu's Master thesis:
(see http://nms.lcs.mit.edu/cricket)

3-506C.log
4-510D.log
5-615.log
6-510B.log
7-506A.log
8-617.log
9-600LR.log
10-613B.log
11-506D.log
12-48-100-73.log

The name of these files (except the last one) follows this convention:

numberofbeacons_on-beacon.log

where

numberofbeacons_on represents the number of beacons that are currently
active (i.e. turned on) in the experiment.  The last file here
represents all twelve of the beacons in 6exp.conf are turned on, and
that the listener is placed at x, y, z = 48, 100, 73 in inches.
See Allen's thesis for the details of the experiment and 
a graphical map of how the beacons were placed in
the experiment.

beacon represents the beacon that has been turned OFF.  e.g.
11-506D.log means 11 beacons are active, with 506D turned off
10-613B.log means 10 beacons are active, with 506D, 613B turned off
...


The rest of the files were used for calibration, etc.

12-48-100-73.log-2
12.log
3-48-100-73.log
111-130-31.log
111-52-28.log

The last two files represents that the listener were placed at x,y,z
111, 130, 31, etc.

File format:
============
Each line represents one beacon reading.  A typical line in 
the log contains the following data.

42497996 Beacon: 0 null 600LR 32 161 null null 

which has the following representation

timestamp reading-type: seqno reserved spaceid beaconid dist coord angle

The timestamp is in milliseconds

reading-type describes the source.  "Beacon" means that the listener
received a measurement from a Cricket Beacon source.
  Note: there are no non-beacon readings in any of the logs here.

seqno specifies the current reading is the nth reading taken by the receiver.

reserved field is always null and unused

spaceid - (ASCII text) the beacon's space

beaconid - (integer) the beacon's id

dist - (integer) the distance between the beacon and listener in bodhi
units.  To convert 1 bodhi into centimeter, use the following:

	double cm  = (double) bodhi*34449.0/(CLOCK_FREQ_HZ -
	DELAY_HZ);

where CLOCK_FREQ_HZ = 15625
      DELAY_OFFSET = 36
      34449.0 is the speed of sound in cm/s

coord - coordinate advertised in the beacon.  Not used in this dataset.
        See 6exp.conf for a mapping of beacon id's and their
        coordinates.
	Note:  coordinates in 6exp.conf is in bodhi units.

angle - reserved for Cricket Compass.  Not used in this dataset.



