[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/NxFloat README.txt, NONE, 1.1 TestSerial.h, NONE, 1.1
David Gay
idgay at users.sourceforge.net
Fri Sep 19 16:58:12 PDT 2008
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/NxFloat .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 TestSerial.java, NONE, 1.1 TestSerialAppC.nc, NONE, 1.1 TestSerialC.nc, NONE, 1.1
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430 msp430hardware.h, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/NxFloat
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2025
Added Files:
README.txt TestSerial.h
Log Message:
test nx_float
--- NEW FILE: README.txt ---
README for NxFloat
Author/Contact: tinyos-help at millennium.berkeley.edu
Description:
NxFloat is a version of the TestSerial application modified to use
floating point numbers. It tests communication over the serial port
and nx_float support. The java application sends packets to the serial
port at 1Hz: the packet contains an incrementing counter. When the
mote application receives a counter packet, it displays the bottom
three bits on its LEDs. (This application is similar to
RadioCountToLeds, except that it operates over the serial port.)
Likewise, the mote also sends packets to the serial port at 1Hz, these
packets contain a sequence number multiplied by 3.2. Upon reception of
a packet, the java application prints the counter's value to standard
out.
Java Application Usage:
java TestSerial [-comm <packetsource>]
If not specified, the <packetsource> defaults to sf at localhost:9002 or
to your MOTECOM environment variable (if defined).
Tools:
Known bugs/limitations:
None.
--- NEW FILE: TestSerial.h ---
#ifndef TEST_SERIAL_H
#define TEST_SERIAL_H
typedef nx_struct test_serial_msg {
nx_float counter;
} test_serial_msg_t;
enum {
AM_TEST_SERIAL_MSG = 0x89,
};
#endif
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/NxFloat .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 TestSerial.java, NONE, 1.1 TestSerialAppC.nc, NONE, 1.1 TestSerialC.nc, NONE, 1.1
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430 msp430hardware.h, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list