Util.cpp
void Util::WDT_Reset() {
  digitalWrite(RST_PIN, LOW);
  delay(9000);
  wdt_enable(WDTO_8S);//  REBOOT the device after 8 seconds
  Serial.println(F("\n\n\t RESET ON CHANGE PARAMETERS \n"));
  while(Serial.available() > 0)Serial.read();
  modem->dropGSM();
  delay(9000);
}
/*
    reset Arduino after set new values for
   1) cool themperature or
   2) change send motion sms state
*/
reset Arduino after set new values for
1) cool themperature or
2) change send motion sms state
reset Arduino after set new values for 1 ) cool themperature or 2 ) change send motion sms state
void Util::WDT_Reset() {
  digitalWrite(RST_PIN, LOW);
  delay(9000);
  wdt_enable(WDTO_8S);
  Serial.println(F("\n\n\t RESET ON CHANGE PARAMETERS \n"));
  while(Serial.available() > 0)Serial.read();
  modem->dropGSM();
  delay(9000);
}
void Util :: WDT_Reset ( ) { digitalWrite ( RST_PIN , LOW ) ; delay ( 9000 ) ; wdt_enable ( WDTO_8S ) ; Serial . println ( F ( " \n \n \t \n " ) ) ; while ( Serial . available ( ) > 0 ) Serial . read ( ) ; modem -> dropGSM ( ) ; delay ( 9000 ) ; }
reset Arduino after set new values for
1) cool themperature or
2) change send motion sms state
reset Arduino after set new values for 1 ) cool themperature or 2 ) change send motion sms state
//  REBOOT the device after 8 seconds