 }
 
 // 
-// End HTTP GET request
-//
-// called when the client request is complete
+// End HTTP GET request Callback
+//
 static void requestUrlCallback (byte status, word off, word len) {
   Serial.println("<<< reply ");
   Serial.println((const char*) Ethernet::buffer + off);
   
-  _app.isHttpRequest = false; // Turn off HTTP request flag
-}
-
-
+  // Turn off HTTP request flag
+  _app.eth.isHttpRequest = false; 
+}
+
+
+//
+// Get the Free RAM
 static int freeRam () {
   extern int __heap_start, *__brkval; 
   int v; 
   return (int) &v - (__brkval == 0 ? (int) &__heap_start : (int) __brkval); 
 }
 
+//
+// Display to Serial the available RAM memory
 void displayFreeRam()
 {
-  Serial.print(F("Free Ram ="));Serial.println(freeRam());
-}
-  
+  Serial.print(F("Free Ram = "));Serial.println(freeRam());
+}
+

  SensorDefinition sensors[3]; // Sensors Definition
  RenderDefinition render; // LCD rendering
  ReceiverDefinition rx; // RX receiver
  unsigned long lastTouched; // Last Touched time
  unsigned long lastMainSensorUpdated; // Last time that the main sensor was updated
  char url[20];
  volatile boolean isHttpRequest; // true during HTTP request
} ApplicationDefinition;

// Static Definition
ApplicationDefinition _app = {
  3, // Total number of sensors
  // Sensors
  {

  {
    // Init array with 0
  },
  // omit other fields -> init to 0
};


