Hello everyone,
I am trying to configure CC3200 in AP mode with WPA security. I am following CC3200 SimpleLink Network Processor Subsystem - Programmer's guide.
I have written following code..
sl_Start(NULL,NULL,NULL); sl_WlanSetMode(ROLE_AP); len = strlen(SSID_NAME); sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_SSID, len,(unsigned char*)SSID_NAME); sec_type = SL_SEC_TYPE_WPA; sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_SECURITY_TYPE, 1, (unsigned char*)&sec_type); len = strlen(PASS_KEY); sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_PASSWORD, len, (unsigned char*)PASS_KEY); sl_Stop(100);
But it is not configured into WPA security mode it always configured into open mode i.e device directly connects with it without entering password.. Can anyone tell me what wrong I am doing here..??
Please help me to solve this issue..
Thanks
Niral