 }
 
 /////////////////////////////////////////////////////////////
-// Narodmon
+// Sending data to narodmon.ru
 
 enum
 {
-  NarodMonMinDelay = 7*60*1000,
-  NarodMonInterval = 30*60*1000
+  NarodMonMinDelay = 7*60*1000,  // Start sending data 7 minutes after restart
+  NarodMonInterval = 30*60*1000  // Send data each 30 minutes
 };
 
 void ProcessNarodmon()

  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,
  NORM_POLL_PERIOD = 10*60*1000,
  FAIL_POLL_PERIOD =  1*60*1000,

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

  g_webServer.send(200, "text/html", resp);
}


void webHandleDiag()
{
  uint32 byteCount = g_serialByteCount;
  uint32 byteStart = (byteCount < 0x400) ? 0 : ((byteCount - 0x400) & ~(0x20-1));

