esp32-c3 (esp32 IDF) wife set Chinese wifi name

1. Enter the WiFi directory under the esp32 template directory and copy it to your project directory

cd .\esp-idf\examples\wifi\getting_started\softAP\main

2. Write a .c file with a compiler

ssid is the wifi account, password is the password

3. Under normal circumstances, Chinese characters cannot be set, so we need to find the esp_wifi_types.h file to modify the type of ssid

cd .\esp-idf\components\esp_wifi\include

4. Change uint8_t to char type in line 227 of the file.

Guess you like

Origin blog.csdn.net/weixin_58503231/article/details/123931686