Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: Wlan_connect(....) API

$
0
0

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


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>