Hi,
I have issues with automatic reconnect after smart Config, can someone check my procedure please ?
1/ At the very first boot i succesfully perform a smart config on my home AP without AES encryption for the moment ( WPA2 ) and with TI smart app on IOS
2/ then i swicth off my board and when i swicth it on again, i never receive connection indication(HCI_EVNT_WLAN_UNSOL_CONNECT ) nor DHCP info(HCI_EVNT_WLAN_UNSOL_DHCP)
Any idea ? here the sequence i used :
1st boot :
wlan_ioctl_set_connection_policy(DISABLE, DISABLE, DISABLE)
wlan_ioctl_del_profile(255)
//Wait until CC3000 is disconnected
...
// Trigger the Smart Config process
//
if (wlan_smart_config_set_prefix(aucCC3000_prefix) == -1)
netapp_dhcp((unsigned long *) pucIP_Addr, (unsigned long *) pucSubnetMask,
(unsigned long *) pucIP_DefaultGWAddr, (unsigned long *) pucDNS);
wlan_smart_config_start(0);
wlan_ioctl_set_connection_policy(DISABLE, DISABLE, ENABLE);
/ reset the CC3000
wlan_stop();
wlan_start(0);
wlan_set_event_mask(HCI_EVNT_WLAN_KEEPALIVE | HCI_EVNT_WLAN_UNSOL_INIT | HCI_EVNT_WLAN_ASYNC_PING_REPORT);
until here everything looks fine ....
then HW reset
and after wlan start i expect to receive HCI_EVNT_WLAN_UNSOL_CONNECT and
HCI_EVNT_WLAN_UNSOL_DHCP through CC3000_UsynchCallback
but it never happens ...
Thanks
Lionel