CC3100出现 Device disconnected from the AP on an ERROR 这段语句,怎么解决
gaoyang9992006:
CC3100装置从一个错误的AP断开
if(SL_USER_INITIATED_DISCONNECTION == pEventData->reason_code) +{ +//CLI_Write((_u8 *)" Device disconnected from the AP on application's request \n\r"); +printf(" Device disconnected from the AP on application's request \n\r"); +} +else +{ +//CLI_Write((_u8 *)" Device disconnected from the AP on an ERROR..!! \n\r"); +printf(" Device disconnected from the AP on an ERROR..!! \n\r"); +}参考这个测试程序https://developer.mbed.org/users/dflet/code/cc3100_test/diff/a3e52cf86086/simplelink/cc3100_driver.cpp
Yonghua Pan:
这说明CC3100因为一些原因导致连接断了,你返回的reason_code是多少?
karmond tse:
回复 Yonghua Pan:
错误码是0x00
Yonghua Pan:
回复 karmond tse:
这个错误码我倒没见过,你是在什么情形下会有这种问题。容易复现吗?和特定的路由器有没有关系?