微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI WIFI设计交流 > http client demo调试问题

http client demo调试问题

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

 调试设备出现这个,是因为

 这个没配置好吗?,另外服务器名写IP地址的,有问题吗?

请问你的HOST_NAME设置的是多少,这个就是服务器的域名,不是用IP地址。

您好,我使用服务器IP能连接上

 ************************************************* CC3200 HTTP Client Application ************************************************* 
Host Driver Version: 1.0.0.10 Build Version 2.0.7.0.31.0.0.4.1.1.5.3.3 Device is configured in default state Device started as STATION [WLAN EVENT] STA Connected to the AP: Tenda_2BD2A8 , BSSID: c8:3a:35:2b:d2:a8 [NETAPP EVENT] IP Acquired: IP=192.168.0.103 , Gateway=192.168.0.1 Connected to the AP: Tenda_2BD2A8 Connection to server created successfully
 HTTP Post Begin1: HTTP Status 200 Content-Type : application/json HTTP Post End:


]

但是使用域名连接不上

*************************************************
CC3200 HTTP Client Application
*************************************************

Host Driver Version: 1.0.0.10
Build Version 2.0.7.0.31.0.0.4.1.1.5.3.3
Device is configured in default state
Device started as STATION
[WLAN EVENT] STA Connected to the AP: Tenda_2BD2A8 , BSSID: c8:3a:35:2b:d2:a8
[NETAPP EVENT] IP Acquired: IP=192.168.0.103 , Gateway=192.168.0.1
Connected to the AP: Tenda_2BD2A8
Connection to server failed. error(-102)
Error [-2011] at line [1278] in function [ConnectToHTTPServer]

你使用的服务器IP多少?

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

网站地图

Top