开发板跑WLAN_Station的Demo有下面的错误
一开始能够连接wifi,可是过了一会儿就掉线了,这是什么原因呢?
*************************************************
CC3200 WLAN STATION Application
*************************************************
Host Driver Version: 1.0.0.1
Build Version 2.2.0.1.31.1.2.0.2.1.0.3.23
Device is configured in default state
Device started as STATION
[WLAN EVENT] STA Connected to the AP: WiFiaa ,BSSID: 58:94:6b:d8:c1:41
[NETAPP EVENT] IP Acquired: IP=192.168.155.3 , Gateway=192.168.155.1
Connection established w/ AP and IP is aquired
Pinging...!
Error [-2000] at line [667] in function [CheckLanConnection]
Device couldn't ping the gateway
[WLAN ERROR]Device disconnected from the AP AP: WiFiaa,BSSID: 58:94:6b:d8:c1:41 on an ERROR..!!
你用的AP是什么设备呢?路由器还是手机的热点?
感觉你的AP连接到以太网上不是很稳定。CC3200在通过AP进行ping操作的时候,wifi连接会断。
谢谢
详细介绍下 为什么会连不上
看串口打印信息是已经连上了,只是由于类似信号不稳的情况,开发板从AP上断开了。
谢谢
yon用猎豹wifi作ap, 也会出现这个问题, 怎么解决? 谢谢
请问解决了吗? 我的也是这问题。 谢谢
哈哈 解决了 把防火墙关掉就可以了
我用手机热点作为AP
但是还是会出现错误
Pinging...!
Error [-163] at line [709] in function [CheckInternetConnection]
Device couldn't ping the external host
我的也是一样的问题,不知道什么原因
如果确定手机在热点模式下是可以上网的,可以尝试修改一下代码,不要去ping ti.com, 修改成ping 163或者baidu什么的试试看。
改了还是不行:
Host Driver Version: 1.0.1.6
Build Version 2.6.0.5.31.1.4.0.1.1.0.3.34
Device is configured in default state
Device started as STATION
[WLAN EVENT] STA Connected to the AP: HGD ,BSSID: 0:8:2f:32:57:71
[NETAPP EVENT] IP Acquired: IP=10.1.16.122 , Gateway=10.1.16.1
Connection established w/ AP and IP is aquired
Pinging...!
Error [-2001] at line [731] in function [CheckInternetConnection]
Device couldn't ping the external host
应该不会,因为3200可以ping到你的网关,就是你手机的热点。
如果你同时用你的电脑连上你的手机可以ping到外网的网站吗?