Communication test between ESP32 boards (client) and a central PC (server).
- Build and run the server
cd server && ant build run [-Dport=<port_number>](default port is 9991) - Specify the Wi-Fi SSID and password by modifying the
WIFI_SSIDandWIFI_PASSWORD#define constants in echo-upper.c - Configure the server destination and port in the same echo-upper.c file (
SERVER_ADDRESSandSERVER_PORT#define constants) - Build and run the application with
idf.py -p PORT flash monitor, wherePORTindicates the serial port to which the ESP32 board is connected to (e.g., "COM3" on Windows or "/dev/ttyUSB0" on Linux) - You can stop the board application with the
Ctrl + ]key combo
- The server starts and waits for a connection to be established on its port
- The board will connect to the Wi-Fi network and send a test string to the server
- The server will reply with the same string after swapping its case