/*! \file command.c
\author Travis Goodspeed
-
- These functions manage command interpretation.
+ \brief These functions manage command interpretation.
*/
#include "command.h"
#include <string.h>
unsigned char cmddata[256];
-
+unsigned char silent=0;
//! Transmit a string.
void txstring(unsigned char app,
serial_tx(*(str++));
}
-//! Transmits a debugging string out of line.
+/*! \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);
}
unsigned char verb,
unsigned char len){
unsigned int i=0;
+ if(silent)
+ return;
serial_tx(app);
serial_tx(verb);
serial_tx(len);