微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI WIFI设计交流 > CC3100出现 Device disconnected from the AP on an ERROR 这段语句,怎么解决

CC3100出现 Device disconnected from the AP on an ERROR 这段语句,怎么解决

时间:10-02 整理:3721RD 点击:

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是多少?

错误码是0x00

这个错误码我倒没见过,你是在什么情形下会有这种问题。容易复现吗?和特定的路由器有没有关系?

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top