This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200 WIFI 自动重连问题

Other Parts Discussed in Thread: CC3200

Hi,

大家好,

我最近用CC3200做款产品,涉及到WIFI自动重连问题

发现一个奇怪的现象,在初次上电的时候,即便添加了proflle,也是不能做到自动重连的

WlanProfileIndex = sl_WlanProfileAdd((signed char*)(deviceinfo.ssid), strlen((const char *)(deviceinfo.ssid)), 0, &secParams, 0,6,NULL);//7
ASSERT_ON_ERROR(WlanProfileIndex);

lRetVal = sl_WlanConnect((signed char*)(deviceinfo.ssid), strlen((const char *)(deviceinfo.ssid)), 0, &secParams, 0);
ASSERT_ON_ERROR(lRetVal);

但你系统休眠一下,然后再唤醒,就可以了连接AP了,即便断开再次连接,都是可以自动重连的

why?

what happened