Chat here is you are connecting ESP-xx type modules to existing AVR based Arduino

Moderator: igrr

User avatar
By saad2919
#34908 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?
User avatar
By martinayotte
#34917 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.