Inconsistency using UDP with two ESP8266's

have you set different IPs for the slaves?

Furthermore in your Min_AP_Master.ino you have

```
// Set this boards Static IP address and gateway
IPAddress local_IP(192, 168, 4, 3);
IPAddress gateway(192, 168, 4, 1);
IPAddress subnet(255, 255, 255, 0);
```

... why is there another gateway on 192.164.4.1 when 192.168.4.3 is the AP ?!?

can you make a schematic so we can see each ESP with the used IPs?

Furthermore I suspect your wifi.config might be not correct. Try to find the correct documentation for the ESP8266 so you get the order of parameters correct.

May be this link helps:

1 Like