 } CMD_e;
 
 //-------------------------------------------------------------------------
+// for debug
+
+void debug_outputDebugString(String prefix, String msg)
+{
+  // this function is used to turn off/on all the debug prints
+
+  Serial.println("[DEBUG] " + prefix + " > " + msg);
+}
+
+//-------------------------------------------------------------------------
 
 void setup() {
   Serial.begin(115200); 



/*
 * v0.6 2016 Feb 21
 *  - UARTlib > extractCsvRow: fix bug > "AAA" return "AAA","AAA","AAA"
 * v0.5 2016 Feb 20
 *  - add kCmdList String array and CMD_e enum

  if (nickName.length() == 0) {
    return false;
  }

  debug_outputDebugString("proc_hello", "line89 > " + csvline);

#if 1
  Serial.println("Your S/N:" + serNo);
