Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By yoavshtainer
#34316 thank you for your patience to my questions.

i dont have 6 esp, i asked theoretical question for understanding (i only have 3 esp).

the other thing that i'm trying is to send numrical data to the server, do you do something like this?

i tried to understad what i need to change to allow this but i dont get it...

thank you!
User avatar
By yoavshtainer
#34409 o.k
i got what i do worng, but today when i work on my esp's i swicth them and now the client not connect to the server,
Code: Select allConnecting to MyESPAP
....ש..
WiFi connected
IP address:
192.168.4.2
connecting to 192.168.4.1
connection failed
connecting to 192.168.4.1
connection failed

in my PC i can connect, what could be the problem now?
User avatar
By martinayotte
#34417 Do you means that you put client firmware on previous server and it doesn't run anymore ?
This means that your client is now in STA+AP mode and it try to connect to itself instead of the server.
Try adding a call to Wifi.mode(WIFI_STA) in the setup() before doing the begin().