+static void
+send_serial(void)
+{
+ ao_cmd_white();
+ while (ao_cmd_lex_c != '\n') {
+ ao_serial_putchar(ao_cmd_lex_c);
+ ao_cmd_lex();
+ }
+}
+
+__code struct ao_cmds ao_serial_cmds[] = {
+ { 'S', send_serial, "S <data> Send data to serial line" },
+ { 0, send_serial, NULL },
+};
+