 void buzzAlarm()
 {
     curState = ALARM_BUZZ;
+    sendGpsData = true;
     mqttClient.publish(stsTopic,"2");
 }
 


boolean checkDoors()
{
    return (analogRead(interrupter));
}

void handleAlarmBuzz()

        simClient.begin(9600);

        //starting GPS module
        simClient.startGPS();

        //attaching GPRS network and creating a web connection
        simClient.attach(apn,usr,psw);
