         while (1)
             ;
     }
-    type = fona.type();
+//    type = fona.type();
     Serial.println(F("FONA is OK"));
-    Serial.print(F("Found "));
-    switch (type)
-    {
-    case FONA800L:
-        Serial.println(F("FONA 800L"));
-        break;
-    case FONA800H:
-        Serial.println(F("FONA 800H"));
-        break;
-    case FONA808_V1:
-        Serial.println(F("FONA 808 (v1)"));
-        break;
-    case FONA808_V2:
-        Serial.println(F("FONA 808 (v2)"));
-        break;
-    case FONA3G_A:
-        Serial.println(F("FONA 3G (American)"));
-        break;
-    case FONA3G_E:
-        Serial.println(F("FONA 3G (European)"));
-        break;
-    default:
-        Serial.println(F("???"));
-        break;
-    }
+//    Serial.print(F("Found "));
+//    switch (type)
+//    {
+//    case FONA800L:
+//        Serial.println(F("FONA 800L"));
+//        break;
+//    case FONA800H:
+//        Serial.println(F("FONA 800H"));
+//        break;
+//    case FONA808_V1:
+//        Serial.println(F("FONA 808 (v1)"));
+//        break;
+//    case FONA808_V2:
+//        Serial.println(F("FONA 808 (v2)"));
+//        break;
+//    case FONA3G_A:
+//        Serial.println(F("FONA 3G (American)"));
+//        break;
+//    case FONA3G_E:
+//        Serial.println(F("FONA 3G (European)"));
+//        break;
+//    default:
+//        Serial.println(F("???"));
+//        break;
+//    }
 
     // Print module IMEI number.
 //    char imei[15] =


void loop()
{
    motion=0;
    if (mpuInterrupt)
    {

    
//    Serial.print(F("url: "));
//    Serial.println((char*) (phant.url().c_str()));
//    HALT();
//    return;
   
    if (!HTTP_GET_start(&statuscode, (uint16_t *) &length))
