Search found 1 match
- Sat Nov 03, 2018 5:33 pm
- Forum: General Discussion
- Topic: Configuring Wifi Station mode for ESP32
- Replies: 2
- Views: 5059
Re: Configuring Wifi Station mode for ESP32
If you are using that structure as local variables, it will be uninitialized. Maybe this is your problem, because values inside this structure contain garbage values. wifi_config_t sta_config = {0}; for (int i = 0; i < 30; i++) { sta_config.sta.ssid[i] = ssid[i]; sta_config.sta.password[i] = passwor...