   
   //use goto to put it at sms begining
   }
-  //return;
+  //return;*/
  }  
 
-
 

//my variables MKY
//const int BUFFER_SIZE = 110;
const int BUFFER_SIZE = 90;
boolean matchLocationMessage = true;
String content = "";
//char character;
//T char bufferSerial[BUFFER_SIZE];  // CREATE THIS BUFFER IN ORDER TO READ SERIAL AT ONCE
//T1 char infoLocation[BUFFER_SIZE];  
char buffer[20];                 // WHAT WE ARE READING INTO
int posTemp;
int posBuf;
int seconds=0;
int Powerkey=6;                 //Power pin for SIM808

enum _parseState 
{
  PS_DETECT_NEW_LINE, //first byte to init sync
  PS_READ_GPS_MODE,
  PS_READ_TIME,  
  PS_READ_LATITUDE,
  PS_READ_NORTH_SOUTH,  
  PS_READ_LONGITUDE,
  PS_READ_EAST_WEST,
  PS_READ_POSITION_FIX,
  PS_READ_NUM_SAT,
  PS_READ_HDOP,
  PS_READ_ALTITUDE,
  PS_READ_ALT_UNIT,
  PS_READ_GEOID_SEPARATION,
  PS_READ_GEOID_UNIT,
  PS_READ_TTFF,
  PS_DETECT_MSG_TYPE,
  PS_DETECT_MSG_TYPE2
};
byte state =  PS_DETECT_NEW_LINE; //PS_DETECT_MSG_TYPE;   


/*******************************************************************************************

SimpleTimer timer;

char* key;
char dateTime[11];
char gpsMode[4];
char latitude[11];
char north_south[2];
char longitude[11];
char east_west[2];
char positionFix[2];
char numSatelite[2];
char hdop[5];
