  
   update_status(); 
   
+}
+
+//------------------------------------------------------------------------------
+void reset_buffers() {
+  content[0] = '\0';
+  buffer[0] = '\0';
 }
 
 //------------------------------------------------------------------------------

//------------------------------------------------------------------------------
void handle_sensors(RestRequest *request, EthernetClient *client) {
  while (!sensorData.available) {};
  char content[128] = { '\0' };
  char buffer[128] = { '\0' };
  strcat(content, "{");
  sprintf_int_field(buffer, true, "status", check_status());
  strcat(content, buffer);  

SensorData sensorData;
SensorThresholds sensorThresholds;

char content[64];
char buffer[128];


/******************************************************************************
 * Main Arduino Subroutines
