UDP and TCP at the same time ?
Posted: Thu Feb 16, 2017 10:21 pm
Hi
I want to use a NODEMCU as a WiFi connection from my existing microcontroller over the UART interface. I would probably configure it just once using the AT commands.
For the majority of the time I will be sending and receiving small packets via UDP also over the UART interface. I also would like the ability to be able to serve a small webpage for setup on TCP port 80 when a browser connects (again over the UART interface from my micro).
From my initial research, I can see how to set the NODEMCU for either UDP or TCP but not both at the same time.
Many routers have a web based set up. This is the sort of thing that I would like to have with my hardware.
So I suppose what I am asking is can NODEMCU be configured to send and receive UDP packets and also listen for TCP connection requests at the same time ?
Any advice would be greatly appreciated.
I want to use a NODEMCU as a WiFi connection from my existing microcontroller over the UART interface. I would probably configure it just once using the AT commands.
For the majority of the time I will be sending and receiving small packets via UDP also over the UART interface. I also would like the ability to be able to serve a small webpage for setup on TCP port 80 when a browser connects (again over the UART interface from my micro).
From my initial research, I can see how to set the NODEMCU for either UDP or TCP but not both at the same time.
Many routers have a web based set up. This is the sort of thing that I would like to have with my hardware.
So I suppose what I am asking is can NODEMCU be configured to send and receive UDP packets and also listen for TCP connection requests at the same time ?
Any advice would be greatly appreciated.