 
     Udp.beginPacket(Udp.remoteIP(), Udp.remotePort());
     Udp.write("Answer from ESP8266 ChipID#");
-    Udp.print(system_get_chip_id());
+    Udp.print(ESP.getFlashChipId());
+    //ESP.getChipId()
     Udp.write("#IP of ESP8266#");
     Udp.println(WiFi.localIP());
     Udp.endPacket();


int status = WL_IDLE_STATUS;
const char* ssid = "matrix";  //  your network SSID (name)
const char* pass = "51whc3xt";       // your network password

byte packetBuffer[512]; //buffer to hold incoming and outgoing packets


  if (client.connect(serverAddress, 80)) {
    client.print("GET /api/lights/");
    client.print(ESP.getFlashChipId());
    //client.print(system_get_chip_id(),HEX);
    client.println(" HTTP/1.1");
    client.print("Host: ");
    client.println(serverAddress);
