-->
Page 4 of 9

Re: P2P: ESP in AP mode and ESP in STA mode not working

PostPosted: Tue Nov 24, 2015 2:44 pm
by saad2919
Thank you, I appreciate the help. I'll give this a shot and post back here with the results. My end goal is to be able to use the client node to send sensor data to the server node, then from the server node I'd like to upload the data to a website. I'm planning on using the the code you provided as a starting spot, do you have any suggestions or comments as I go forward?

Re: P2P: ESP in AP mode and ESP in STA mode not working

PostPosted: Tue Nov 24, 2015 4:02 pm
by martinayotte
Maybe one suggestion :
The original piece of code I provided was a Client sending HTTP request to a Server.
HTTP requests are usually a bit slow because of their nature.
If you wish to get faster exchange, it is better to use plain TCP connection and define you own command protocol.
Of course, this will require more software design, but there are plenty of advantage, such as the communication can stay connected, like a telnet, and throughput of data is higher.

Re: P2P: ESP in AP mode and ESP in STA mode not working

PostPosted: Tue Mar 22, 2016 9:55 pm
by poohjangnim
what is the firmware you used on this examples? I am planning to put LCD on each two esp8266 and communicate to each other without internet. Is this possible for this examples you have here?

Re: P2P: ESP in AP mode and ESP in STA mode not working

PostPosted: Wed Mar 23, 2016 1:01 pm
by martinayotte
Those sketches were using Arduino IDE.
Simply look at this thread which also point out to some other where the codes were provided.
viewtopic.php?f=6&t=4806&p=27501&hilit=MyAPServer#p27501