--- /dev/null
+$Id$
+
+README for TestPrintf
+Author/Contact: tinyos-help@millennium.berkeley.edu
+
+Description:
+This application is used to test the basic functionality of the printf service.
+Calls to the standard c-style printf command are made to print various strings
+of text over the serial line. Only upon calling printfflush() does the
+data actually get sent out over the serial line.
+
+Tools:
+
+net.tinyos.tools.PrintfClient is a Java application that displays the output on
+the PC.
+
+Usage:
+
+java net.tinyos.tools.PrintfClient -comm serial@<serial port>:<mote>
+
+Known bugs/limitations:
+
+None.
+
\ No newline at end of file
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
* MODIFICATIONS."
*/
-
+
/**
- * This application is used to test the basic functionality of the printf service.
- * It is initiated by calling the start() command of the SplitControl interface
- * provided by the PrintfC component. After starting the printf service, calls to
- * the standard c-style printf command are made to print various strings of text
- * over the serial line. Only upon calling PrintfFlush.flush() does the data
- * actually get sent out over the serial line.
+ * This application is used to test the basic functionality of the printf service.
+ * Calls to the standard c-style printf command are made to print various strings
+ * of text over the serial line. Only upon calling printfflush() does the
+ * data actually get sent out over the serial line.
*
* @author Kevin Klues (klueska@cs.wustl.edu)
* @version $Revision$
* @date $Date$
*/
-
+
#include "printf.h"
configuration TestPrintfAppC{
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
* MODIFICATIONS."
*/
-
+
/**
*
- * This application is used to test the basic functionality of the printf service.
- * It is initiated by calling the start() command of the SplitControl interface
- * provided by the PrintfC component. After starting the printf service, calls to
- * the standard c-style printf command are made to print various strings of text
- * over the serial line. Only upon calling PrintfFlush.flush() does the data
- * actually get sent out over the serial line.
+ * This application is used to test the basic functionality of the printf service.
+ * Calls to the standard c-style printf command are made to print various strings
+ * of text over the serial line. Only upon calling printfflush() does the
+ * data actually get sent out over the serial line.
*
* @author Kevin Klues (klueska@cs.wustl.edu)
* @version $Revision$
}
}
implementation {
-
+
uint8_t dummyVar1 = 123;
uint16_t dummyVar2 = 12345;
uint32_t dummyVar3 = 1234567890;