   resp.concat("</body></html>");
 }
 
-EBusCommand g_cmdGetState;
-EBusCommand g_cmdGetTemp;
-EBusCommand g_cmdGetPress;
-
 void webHandleRoot()
 {
   uint32 t = millis();


enum
{
  // Max number of retries for failed command
  CMD_MAX_RETRIES = 2,
  // Number of skipped SYN before retries
  CMD_MIN_SYNC_SKIP = 1,
  CMD_MAX_SYNC_SKIP = 5
};

  COMMAND_TIMEOUT  = 1000,  // command timeout (time to wait before declaring command failed)
  SYNC_TIMEOUT     = 2000,  // sync timeout (time to wait before entering NO_SYNC state)

  FIRST_POLL_DELAY =     5*1000,  // Start polling EBus 5 seconds after startup
  NORM_POLL_PERIOD = 10*60*1000,  // Poll EBus each 10 minutes if last command succeeded
  FAIL_POLL_PERIOD =  1*60*1000,  // Poll EBus each 1 minute if last command failed

// for debugging
//  NORM_POLL_PERIOD = 15*1000,
