   }
 }
 
+/**
+* Callback to deal with MQTT server when connected
+*/
 void mqttConnected(void* response)
 {
   debugPort.println("Connected");


}

void mqttDisconnected(void* response)
{
	// What to do when disconnected.
}

void mqttData(void* response)
{
  // Parse response

  debugPort.println("ARDUINO: system started");
}

/**
* Main loop
*/
void loop() {
  esp.process();
  if(wifiConnected) {
