Hello
I have implemented the spi driver for the CC3000 on a LM3S9B96. Everything works so far, i verified the commands with a logic analizer and got also the correct responses. Now the Smart Config does also work, but if I start the procedure, the whole process will take around 20-30sec until the chip is connected with the access point.
I also tried it with a MSP-EXP430FR5739 and the sample application FRAMSensorApp. There the whole process takes around 15sec to finish.
My call sequence:
wlan_init();
wlan_start():
netapp_dhcp();
wlan_stop();
delay();
wlan_start();
wlan_set_event_mask();
wlan_ioctl_set_connection_policy(0,0,0);
wlan_ioctl_del_profile(255);
while (ulCC3000Connected == 1)
{
delay(100);
hci_unsolicited_event_handler();
}
wlan_smart_config_set_prefix();
wlan_smart_config_start(0);
The call sequence should be similar to the FRAMSensorApp, now my question is why does it take longer on the first case, is there an explanation for this behaviour?