esp_wifi_set_config password special characters
Posted: Wed May 01, 2024 5:16 am
We are struggling with special characters in the wifi sta password, everything works if we use a password with without special characters.
If
But if we set
And we did remember to change to AP's password accordingly.
So how do we use special characters ?
Code: Select all
ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA) );
ESP_ERROR_CHECK(esp_wifi_set_config(WIFI_IF_STA, &wifi_config) );
ESP_ERROR_CHECK(esp_wifi_start() );
is set to "password" or any other password without special characters, it works.wifi_config.sta.password
But if we set
to example "pass&word" it fails.wifi_config.sta.password
And we did remember to change to AP's password accordingly.
So how do we use special characters ?