Re: Newbee: Very general question wrt iot usage of the esp
Posted: Thu Jan 07, 2016 4:27 pm
I think the nearest skeleton to start with would be the WifiClient example found in libraries/ESP8266WiFi/examples/WiFiClient/WiFiClient.ino
The main difference would be that you send you TCP shell commands (since it is some kind of Telnet) instead of sending an URL like it is currently in the example.
On your server, you would have some python scripts which will play role of TCP Server. Such example can be found at https://docs.python.org/2/library/socketserver.html , section "20.17.4.1. SocketServer.TCPServer Example"
The main difference would be that you send you TCP shell commands (since it is some kind of Telnet) instead of sending an URL like it is currently in the example.
On your server, you would have some python scripts which will play role of TCP Server. Such example can be found at https://docs.python.org/2/library/socketserver.html , section "20.17.4.1. SocketServer.TCPServer Example"