Hello everyone, first of all, I apologize if I have posted on the wrong topic.
I just started using ESP32. I have some problems I want to tell you, maybe you can help me. First of all, I am developing a project. transferring the data received from some sensors to a control station that I designed in C# interface using esp32 and tcp protocol (it must be tcp). We can call the part where the ESP32 is installed, the part where the server control station is located, the client. I was able to do this over UDP, but unfortunately I can't do it over TCP. I also have a router. I will open a wifi network from the router and connect both from esp32 and from the control station computer. Then I need to transfer the data from esp32 to the control station. Can you share if you have sample TCP code for me?
Thank you all. With all respect.
Transferring data from ESP32 TCP protocol to C# interface
-
- Posts: 9746
- Joined: Thu Nov 26, 2015 4:08 am
Re: Transferring data from ESP32 TCP protocol to C# interface
ESP-IDF has example code for that. For instance, look in your esp-idf directory under esp-idf/examples/protocols/sockets/tcp_client .
Re: Transferring data from ESP32 TCP protocol to C# interface
You now can write the whole thing in c#. There is a super active open sourced project that implements nanoCLR for iot.furkan00 wrote: ↑Wed Feb 09, 2022 1:42 pmHello everyone, first of all, I apologize if I have posted on the wrong topic.
I just started using ESP32. I have some problems I want to tell you, maybe you can help me. First of all, I am developing a project. transferring the data received from some sensors to a control station that I designed in C# interface using esp32 and tcp protocol (it must be tcp). We can call the part where the ESP32 is installed, the part where the server control station is located, the client. I was able to do this over UDP, but unfortunately I can't do it over TCP. I also have a router. I will open a wifi network from the router and connect both from esp32 and from the control station computer. Then I need to transfer the data from esp32 to the control station. Can you share if you have sample TCP code for me?
Thank you all. With all respect.
https://www.nanoframework.net/
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot], Majestic-12 [Bot] and 88 guests