In this video, you'll learn how to program an ESP32 to work with WiFi and prepare it for data exchange. You'll also learn how to write a C# program to manage a LAN connection. You'll also learn how to create a thread that listens for incoming network data asynchronously, and how to safely redirect such data to another thread in Windows. Visit our fanpage: / cnchobbypl
Visual Studio code: https://code.visualstudio.com/
PlatformIO: https://platformio.org/
00:00 - What the video is about
01:44 - Program for ESP32
03:46 - Network configuration
05:34 - Loop(), transmitting and receiving
09:05 - Program in C# for Windows
09:45 - Beginning of the code
10:31 - TcpClientEvents class, writing code for the event of receiving data from our microcontroller
11:27 - TcpClientEvents constructor
12:57 - Asynchronous reading
15:41 - Event triggering method
16:52 - Checking threads and redirecting to another thread
18:48 - Sending to the microcontroller
19:52 - Testing if it works? 21:50 - Summary