WiFi mode and UDP Server conflict
Posted: Fri Nov 27, 2015 2:49 pm
Hello,
I start my app with WiFi.mode(WIFI_AP_STA);
I have a UDP server in the code.
When esp's client connected to my wifi and also it has its own wifi AP, I simply cannot access the UDP server from one of them (AP or STA).
I just start the server, before waiting wifi to be connected because STA wifi can be continiously disconnect-connect in time..
How I can get it work with both interfaces?
BR
I start my app with WiFi.mode(WIFI_AP_STA);
I have a UDP server in the code.
When esp's client connected to my wifi and also it has its own wifi AP, I simply cannot access the UDP server from one of them (AP or STA).
I just start the server, before waiting wifi to be connected because STA wifi can be continiously disconnect-connect in time..
How I can get it work with both interfaces?
BR