Part Number: CC3200
Tool/software: TI-RTOS
Hello Team !
I am using simplelink cc3200 http server application in station mode . On every reboot or power off i want the device to connect to the last connected AP which was configured previously using smart config. In smartconfig function i commented sl_profiledel function and changed the sl_connection policy as auto+fastconnect but still the device goes again in smartconfig mode only again i have to do smart config to connect to AP .kindly tell me how can i ratain the ssid and password parameters i.e profiles once connection happens on smart config on reboot also.
//lRetVal = sl_WlanProfileDel(WLAN_DEL_ALL_PROFILES);
// ASSERT_ON_ERROR(lRetVal);
//set AUTO policy
lRetVal = sl_WlanPolicySet(SL_POLICY_CONNECTION,
SL_CONNECTION_POLICY(1,1,0,0,0),
&policyVal,
1 /*PolicyValLen*/);
with regards
pranav