0
hayami

Hi
我用SDK 4.0 gcc版按照下面的流程操作的時候會出現錯誤
1.正常開機,不連線到ap
2.建立一個task啟動SmartConfig
3.android app連線設定rtl8710
4.rtl8710成功連線到設定的ap
5.SmartConfig結束,task自我刪除
6.不重新開機的狀態下,重新再一次啟動SmartConfig,這時候就會出現下面的錯誤

[add_mem_usage] Catch a mem alloc fail with size of 1024, current heap free size = 1104
ioctl[SIOCSIWPRIVAPESSID] error
RTL8195A[Driver]: ap has changed, disconnect now

[add_mem_usage] Catch a mem alloc fail with size of 1024, current heap free size = 2072
ioctl[SIOCSIWPRIVAPESSID] error
LwIP_DHCP: dhcp stop.
Deinitializing WIFI ...
WIFI deinitialized
Initializing WIFI ...
[add_mem_usage] Catch a mem alloc fail with size of 4244, current heap free size = 4792
[rltk_wlan_init] wlan initialization fail
Wifi on failed!
simple_config_test xTaskCreate(simple_config_channel_control) failed

請問要如何能夠正確的再次啟動SmartConfig

thx~

sean 回答了