The use of the ESP8266 in the world of IoT

User avatar
By scargill
#4702 I've a problem. I have my little ESP-01 talking to my Arduino via AT commands - and acting as a TCP/IP listener- but while it's doing that day in/day out - how can it go off and get info from a web page without losing the listening ability? The plot thickens..

http://scargill.wordpress.com/2014/12/12/listener-and-talker-puzzle/
User avatar
By Jostikas
#5732 Isn't this the reason to use TCP as opposed to UDP? The sender (that the ESP is listening to) will know if the message was received, and knows to try again. Do your server log and time query, and then return ro receive the requests. Now, if you have hard real time requirements, then a single ESP is probably the wrong solution. I'd say, in this case, TCP/IP is the wrong solution.