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
TCP server Station mode
Moderator: Benj
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: TCP server Station mode
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.
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.