This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

mDNS demo问题

Other Parts Discussed in Thread: CC3200

大家好,我在跑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 state
Device 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 aquired
MDNS 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 state
Device 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