Skip to content

Latest commit

 

History

History

socket

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

hello world based on sockets

Usage

Modify the following macros in main/main.c.

#define CONFIG_EXAMPLE_WIFI_SSID "myssid"
#define CONFIG_EXAMPLE_WIFI_PASSWORD "mypassword"
#define CONFIG_EXAMPLE_HOST_IP_ADDRESS "hostip"

Then use the following commands

# Build and flash the firmware on the ESP32 target
idf.py build
idf.py flash

# Listen for incoming TCP connections
$ python main/main.py 0.0.0.0