]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
added a README.txt, updated source code documentation
authorsallai <sallai>
Mon, 23 Jun 2008 21:05:13 +0000 (21:05 +0000)
committersallai <sallai>
Mon, 23 Jun 2008 21:05:13 +0000 (21:05 +0000)
apps/tests/TestPrintf/README.txt [new file with mode: 0644]
apps/tests/TestPrintf/TestPrintfAppC.nc
apps/tests/TestPrintf/TestPrintfC.nc

diff --git a/apps/tests/TestPrintf/README.txt b/apps/tests/TestPrintf/README.txt
new file mode 100644 (file)
index 0000000..b38bc43
--- /dev/null
@@ -0,0 +1,24 @@
+$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
index db8bb2f07a9eb2069d6efc4eed2a5d2593cd353f..9332725a0869fe95354abe028bdc5557d0fe1a61 100644 (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{
index 9d35c464cb1084fc6b51ca85ba10b9763e602594..cb968d001027e5f7c2b79e827ba1d4e2b47f4335 100644 (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$
@@ -41,7 +39,7 @@ module TestPrintfC {
   }
 }
 implementation {
-       
+
   uint8_t dummyVar1 = 123;
   uint16_t dummyVar2 = 12345;
   uint32_t dummyVar3 = 1234567890;