   uint8_t buf[256];
   bool rc = false;
   LGPRSClient net_client;
-  while (0 == net_client.connect("tick-t.yunba.io", 9977)) {
-    Serial.println("reconnect tick");
-    delay(500);
+  Serial.println("connect tick");
+  while (!net_client.connect("tick-t.yunba.io", 9977)) {
+    Serial.println(".");
+    delay(1000);
   }
 
   String data = "{\"a\":\"" + String(appkey) + "\",\"n\":\"1\",\"v\":\"v1.0\",\"o\":\"1\"}";

      }
      break;
    case LOCK_UNLOCKED:
      if (millis() - g_unlocked_ms < 100) {
        break;
      }
      if (lock_status_on()) {

  String gps = String((char *)g_gps_info.GPGGA);
  gps.trim();
  root["gps"] = gps;
  root["battery"] = LBattery.level();
  root["charge"] = (LBattery.isCharging() == true);

  String json;
  root.printTo(json);
