i currently observed a strange behavior i don't understand.
I'm using the ESP8266 wifi in "SOFTAP_MODE". It works fine with a lot of different smartphones (Andorid different versions & iOS).
But when I try connecting with an Android 7 Smartphone the ESP8266 changes the wifi password to "ction: Keep-".
Has anybody observed similar behavior?
Ist there a known problem? (I searched but did not find anything)
Does anybody know where to get support (also paid)?
Additional details:
-Used official RTOS SDK 1.4 & 1.5 (same behavior)
-Code snipped for setting the Wifi password:
#define WiFi_AP_SSID "Test_Wifi"
#define WiFi_AP_PASSWORD "12345678"
....
....
....
void ICACHE_FLASH_ATTR setDefaultPassword(struct softap_config *config){
sprintf(config->ssid, WiFi_AP_SSID);
sprintf(config->password,WiFi_AP_PASSWORD);
config->authmode = AUTH_WPA_WPA2_PSK;
config->ssid_len = 0;
config->max_connection = 1;
wifi_softap_set_config(config);
free(config);
printf("Wifi password was set to DEFAULT!!!\n");
}
....
....
....
void user_init(void)
{
....
....
....
wifi_set_opmode(SOFTAP_MODE);
struct softap_config *config = (struct softap_config *)zalloc(sizeof(struct softap_config));
wifi_softap_get_config(config);
....
....
....
//only called after first startup after flashing
setDefaultPassword(config);
....
....
....
}
Hope for your support!
Best Regards