    *******************************************/
   if(!sim808_check_with_cmd("AT+CDNSGIP=\"ardugps.hopto.org\"\r\n","OK\r\n",CMD)){  
     error = CDNSGIP_FAIL; 
+    setCurrentError(CDNSGIP_FAIL);
+  }else{
+    clearCurrentError(CDNSGIP_FAIL);
   }
   delay(50);
   return error;

   if(token != NULL) {
      strncpy(latitude,token,sizeof(latitude));
      latitude[sizeof(latitude)-1] = '\0';      
      Serial.print("LATITUDE        : ");
      Serial.println(latitude);      
   }else return false;   

   //Get North or South

char smsMessage[64];


#include <EEPROM.h>
#include <DFRobot_sim808.h>
#include <sim808.h>
#include <SoftwareSerial.h>
