TI中文支持网
TI专业的中文技术问题搜集分享网站

http client demo调试问题

  调试设备出现这个,是因为 这个没配置好吗?,另外服务器名写IP地址的,有问题吗?
Yonghua Pan:

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

Yang Chen8:

回复 Yonghua Pan:

您好,我使用服务器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.10Build Version 2.0.7.0.31.0.0.4.1.1.5.3.3Device is configured in default stateDevice 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.1Connected to the AP: Tenda_2BD2A8Connection to server failed. error(-102)Error [-2011] at line [1278] in function [ConnectToHTTPServer]

kai liu16:

回复 Yang Chen8:

你使用的服务器IP多少??

赞(0)
未经允许不得转载:TI中文支持网 » http client demo调试问题
分享到: 更多 (0)