Hi,
I am using wlan_connect api to connect with wlan AP device. When i hardcoded the SSID and Passphrase it working fine but when i do pass as argument its is not working .
wlan_connect(WLAN_SEC_WPA2, "MUKUNTHANKA" ,0x0B, NULL, "KANDASAMY",0x09); ---> working fine without issue
wlan_connect(WLAN_SEC_WPA2, SSID ,SSIDLen, NULL, PP,PPLen); ----> not working
when i print SSID character array it prints MUKUNTHANKA and length as 11 then for PP as KANDASAMY with length as 9.
i have used char * and mem allocation. Still it is not working..
Please let me know what is wrong here.
-
Mukunthan Kandasamy