     delay(10);
     WiFi.mode(WIFI_STA);
     WiFi.begin(ssid, password);
+    WiFi.config(IPAddress(ip_static), IPAddress(ip_gateway), IPAddress(ip_subnet), IPAddress(ip_dns));
+
 
     int Attempt = 0;
     while (WiFi.status() != WL_CONNECTED) {

}

//--
#define RTC_MAGIC 12345

typedef struct _tagPoint {
  uint32 magic ;

} 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);
