   PS_READ_GEOID_SEPARATION,
   PS_READ_GEOID_UNIT,
   PS_READ_TTFF,
-  PS_READ_SPEED,
-  PS_READ_COURSE,
   PS_DETECT_MSG_TYPE,
-  PS_IGNORING_COMMAND_ECHO,
-  PS_READ_CMTI_STORAGE_TYPE,
-  PS_READ_CMTI_ID,  
-  PS_READ_CMGR_DATE,
-  PS_READ_GPS_STATUS, 
-  PS_DETECT_MSG_TYPE2,
-  PS_IGNORING_COMMAND_ECHO2,
-  PS_READ_CMGR_CONTENT,
-  PS_READ_CMGR_NUMBER,
-  PS_READ_CMGR_SOMETHING
+  PS_DETECT_MSG_TYPE2
 };
 byte state =  PS_DETECT_NEW_LINE; //PS_DETECT_MSG_TYPE;   
 

      }
      else {  
        if ( b == ',' ) {
          Serial.print("LONGITUDE      : ");
          Serial.println(buffer);
          longitude=buffer;
         
  
          state = PS_READ_EAST_WEST;

#include <SimpleTimer.h>
#define rxPin 2
#define txPin 3
//#define CTRL(x) (#x[0]-'a'+1)

SoftwareSerial GPRS(rxPin, txPin); // RX, TX
//DFRobot_SIM808 sim808(&GPRS);
SimpleTimer timer;

char* key;
String gpsMode;
//String latitude;
char latitude[11];
String north_south;
//String longitude;
char longitude[11];
String east_west;
String positionFix;
String numSatelite;
