Doxygen stuff.
[goodfet] / firmware / lib / command.c
index 738fab6..afeb3f9 100644 (file)
@@ -1,11 +1,15 @@
+/*! \file command.c
+  \author Travis Goodspeed
+  \brief These functions manage command interpretation.
+*/
+
 #include "command.h"
 #include "platform.h"
 #include <string.h>
 
-//! Different command handling functions.
-
 unsigned char cmddata[256];
 
+
 //! Transmit a string.
 void txstring(unsigned char app,
              unsigned char verb,
@@ -18,6 +22,17 @@ void txstring(unsigned char app,
     serial_tx(*(str++));
 }
 
+/*! \brief Transmit a debug string.
+  
+  Transmits a debugging string that is to be printed
+  out of line by the client.  This is just for record-keeping;
+  it is not considered a proper reply to a query.
+ */
+void debugstr(const char *str){
+  txstring(0xFF,0xFF,str);
+}
+
+
 //! Transmit data.
 void txdata(unsigned char app,
            unsigned char verb,