why does adding password setting failed??
Posted: Wed Oct 28, 2015 1:42 am
Hi all
My environment is :VS2013 + VisualGDB
I running wifi as AP , and i adding the password function when config the wifi ,
but when i connect the wifi AP, it does not request me to put the password。
and i could connect without password。
why does ”strcpy((char *)cfg.password, "123456");“ have not work!
BR!!
My environment is :VS2013 + VisualGDB
I running wifi as AP , and i adding the password function when config the wifi ,
Code: Select all
struct ip_info info;
struct softap_config cfg;
wifi_softap_get_config(&cfg);
strcpy((char *)cfg.ssid, "ESP8266_Mrtech_RTOS");
cfg.ssid_len = strlen((char*)cfg.ssid);
strcpy((char *)cfg.password, "123456");// password no work
wifi_softap_set_config_current(&cfg);
wifi_set_opmode(SOFTAP_MODE);
but when i connect the wifi AP, it does not request me to put the password。
and i could connect without password。
why does ”strcpy((char *)cfg.password, "123456");“ have not work!
BR!!