 // External command routines.
 //
 // External commands are:
+//     ID;          get device identifire string
 //     MSO;         set VFO mode to 'online'
 //     MSS;         set VFO mode to 'standby'
 //     MG;          get VFO mode

//##############################################################################

//----------------------------------------
// Mode commands:
//     MSO;
//     MSS;
//     MG;
//----------------------------------------
const char * xcmd_mode(char *cmd)
{
  switch (cmd[1])

  // process the command
  switch (cmd[0])
  {
    case 'C':
      return xcmd_cursor(cmd);
    case 'D':
      return xcmd_digit(cmd);
    case 'F':
      return xcmd_freq(cmd);
    case 'I':
      return xcmd_id(cmd);
    case 'M':
      return xcmd_mode(cmd);
  }

  return (char *) "ERROR";
