   SIM900.begin(57600);                            //SIM900 console initialize at 56k
   sensors.begin();                                //sensors initialize;
 
-  call_done = false;
   // mode select
   armed = true;                                  //GSM activity
-  remore_access = true;
+
 
   SIM900.println("AT");                           //Sending "AT" to modem for auto baud rate sensing;
 

  delay(30000);                                             // give module time to send SMS

  while (SIM900.available() > 0)
    { char inchar = SIM900.read();
      readString += inchar;
      delay(10);
    }
  Serial.println("[DBG] SEND SMS");
  Serial.println(readString);
  return true;
}


void readSMS( bool debug)
{
  bool isMsgExists;
  String readString;
  String resultString;

  for (int smsID = 1; smsID <= 10; smsID++)
  {
    readString = "";
    isMsgExists = false;

    SIM900.print("AT+CMGR="); SIM900.println(smsID);
    delay(1000);
    while (SIM900.available() > 0)
    { char inchar = SIM900.read();
      readString += inchar;
      delay(10);
    }

    if (debug) {

// proceed a sending message to number
boolean sendSMS(String number, String message)
{
  String readString;
  SIM900.print("AT+CMGF=1\r");                              // AT command to send SMS message
  delay(100);
  SIM900.print("AT+CMGS=\"");
  SIM900.print(number);
  delay(1000);
