#include <ESP8266WiFi.h> #include <WiFiUdp.h> const char *ssid = “KMTRONIC”; const char *password = “12345678”; WiFiUDP Udp; unsigned int localUdpPort = 12345; // local port to listen on char incomingPacket[255]; // buffer for incoming packets char replyPacket[] = “Hi there! Got the message :-)”; // a reply string to send back void setup() . . .
UDP packet send from ESP8266 to KMtronic UDP LAN Relay board
