Page 1 of 1

TCP server Station mode

Posted: Tue Aug 22, 2017 10:54 pm
by achillis1
Hello ,
I have noticed some examples found in the help web page for wlan esp8266. One is the TCP server that a PC can connect the the esp8266 access point and switch on off LEDs.
The other is the TCP client that the esp8266 connects to home router and accesses matrix's web page.

Is there an example of those 2 combined?
It would be good to connect the esp8266 to home router and switch LEDs on off through the internet by enabling port forward on home router.

Thank you
Best Regards
Andreas Achilleos

Re: TCP server Station mode

Posted: Wed Sep 06, 2017 10:30 am
by LeighM
Hi,
In the absence of time to create a demo for you, I would suggest that you start with the Server example,
but instead of creating an access point, connect to your home router with ConnectToSSID, as in the "Join AP" example.
You will need to use the displayed IP address allocated by your access point to then enable the port forwarding on it.
Hope that gets you started.