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

mDNS demo问题

大家好,我在跑mDNS demo的时候遇到个问题,向大家求解下。我用一个cc3200板做mDNS 的advertise,一个cc3200板做mDNS的listen,运行结果如下,发现listen没有收到mDNS包,在debug下发现sl_NetAppDnsGetHostByService函数返回的时候-177(SL_NET_APP_DNS_NO_ANSWER)。我用的是官方代码和评估版,为什么会出现这样的情况的?

*************************************************
CC3200 mDNS Advertise 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 stateDevice started as STATION[WLAN EVENT] STA Connected to the AP: GIA_AP10 ,BSSID: d8:15:d:6b:e0:22
[NETAPP EVENT] IP Acquired: IP=100.13.12.239 , Gateway=100.13.12.1
Connection established w/ AP and IP is aquiredMDNS Registration successful

*************************************************
CC3200 mDNS Listen Application *************************************************

Host Driver Version: 1.0.0.1
Build Version 2.2.7.1.31.1.2.4.2.1.5.3.23
Device is configured in default stateDevice started as STATION[WLAN EVENT] STA Connected to the AP: GIA_AP02 ,BSSID: 14:cf:92:bb:75:47
[NETAPP EVENT] IP Acquired: IP=100.13.12.238 , Gateway=100.13.12.1
Connection established w/ AP and IP is aquired

Yonghua Pan:

请问你用的service pack是什么版本?

chuanwen shang:

回复 Yonghua Pan:

你好,请问下你的问题解决了没,我这里也遇到这个问题,TI给的MDNS的demo,还是不能跑通,不知道什么原因,还望TI员工和楼主给个答复,谢谢!

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