CC3100出现 Device disconnected from the AP on an ERROR 这段语句,怎么解决
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.
CC3100出现 Device disconnected from the AP on an ERROR 这段语句,怎么解决
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
这说明CC3100因为一些原因导致连接断了,你返回的reason_code是多少?
这个错误码我倒没见过,你是在什么情形下会有这种问题。容易复现吗?和特定的路由器有没有关系?