 } RTC_TEST;
 
 RTC_TEST rtc_mem_test;
+
+#define IPSET_STATIC { 192, 168, 10, 7 }
+#define IPSET_GATEWAY { 192, 168, 10, 1 }
+#define IPSET_SUBNET { 255, 255, 255, 0 }
+#define IPSET_DNS { 192, 168, 10, 10 }
+
+IPAddress ip_static = IPSET_STATIC;
+IPAddress ip_gateway = IPSET_GATEWAY;
+IPAddress ip_subnet = IPSET_SUBNET;
+IPAddress ip_dns = IPSET_DNS;
 
 //---
 String macToStr(const uint8_t* mac);

  Serial.println("going to sleep with rf");
  //system_deep_sleep_set_option(0);
  //system_deep_sleep(10000000);
  ESP.deepSleep(3000000, WAKE_RF_DEFAULT);
}

void rtc_count()

        String payload = "{\"startMills\":";
        payload += (millis() - startMills);
        payload += ",\"salt\":";
        payload += rtc_mem_test.salt;
        payload += ",\"FreeHeap\":";
        payload += ESP.getFreeHeap();
        payload += ",\"RSSI\":";
