代码如下:
info.host_name = "abc";
info.ipAddr = evt->event_info.got_ip.ip.addr; //ESP8266 station IP
info.server_name = "light";
info.server_port = 8080;
espconn_mdns_init(&info);
espconn_mdns_enable();
mdns 启动正常,但是在另外一台电脑上启动mDNS客户端,单板就会复位。
Re: mdns 启动正常,但是在另外一台电脑上启动mDNS客户端,单板就会复位。
Postby ESP_Faye » Mon Jul 06, 2015 9:56 am
您好,
给您带来不便,深感抱歉。
您可以参考文档“2C-ESP8266__SDK__Programming Guide” 中的 mDNS 示例使用,无需调用 espconn_mdns_enable(); 只需要调用 espconn_mdns_init(&info); 即可。
或者您可以更新到目前最新的 SDK 使用 http://bbs.espressif.com/viewtopic.php?f=5&t=680
感谢您对 乐鑫 和 ESP8266 的关注!
给您带来不便,深感抱歉。
您可以参考文档“2C-ESP8266__SDK__Programming Guide” 中的 mDNS 示例使用,无需调用 espconn_mdns_enable(); 只需要调用 espconn_mdns_init(&info); 即可。
或者您可以更新到目前最新的 SDK 使用 http://bbs.espressif.com/viewtopic.php?f=5&t=680
感谢您对 乐鑫 和 ESP8266 的关注!
Who is online
Users browsing this forum: No registered users and 97 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.