 				buf[cidx] = c;
 				++cidx;
 			} else {
-				Serial.println(F("ERROR: command line too long"));
+				sendMsg(F("ERROR: command line too long\n"));
 				suspendStore = true;
 			}
 		}
 	}
-}
+#endif
+}

extern int chlID;

void setup_ESP8266(void) {
	while (!wifi.begin());
	while (!wifi.Initialize(STA, SSID, PASSWORD));
	wifi.confMux(1);
	wifi.confServer(1, 23);
}

#endif

void sendMsg(String msg) {

**	XXX = 100; reset
**	XXX = 101; print free memory
**	XXX = 102; report current servo desination positions
**	XXX = 112; emergency stop (detach servo timers)
**	XXX = 113; reattach servo timers
*/

bool parseCommandGServo(char **buf, bool speedControl, bool wait) {
