-->
Page 3 of 5

Re: need help with talk between 2 esp (server and client)

PostPosted: Tue Nov 17, 2015 1:22 pm
by yoavshtainer
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!

Re: need help with talk between 2 esp (server and client)

PostPosted: Tue Nov 17, 2015 2:22 pm
by martinayotte
... but I don't clearly understand what is the problem ...
Is the ESP connected properly ? does the request been send but not received ?
we still need description of the issue.

Re: need help with talk between 2 esp (server and client)

PostPosted: Wed Nov 18, 2015 7:02 am
by yoavshtainer
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?

Re: need help with talk between 2 esp (server and client)

PostPosted: Wed Nov 18, 2015 9:19 am
by martinayotte
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().