Statistics: Posted by marhc_seven — Tue Nov 03, 2015 4:34 pm
Statistics: Posted by ESP_Faye — Mon Jun 15, 2015 4:05 pm
Statistics: Posted by tprochazka — Mon Jun 15, 2015 3:24 pm
Code:
Fatal exception (28):
epc1=0x40224f3c, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
ets Jan 8 2013,rst cause:1, boot mode:(3,6)
load 0x40100000, len 24048, room 16
tail 0
chksum 0x81
load 0x3ffe8000, len 1328, room 8
tail 8
chksum 0xcb
load 0x3ffe8530, len 7300, room 0
tail 4
chksum 0xc6
csum 0xc6
Code:
void startmdns() {
struct mdns_info *info = (struct mdns_info *)os_zalloc(sizeof(struct mdns_info));
info->host_name = (char *) "test";
info->ipAddr = WifiStation.getIP();
info->server_name = (char *) "iot";
info->server_port = 80;
espconn_mdns_init(info);
espconn_mdns_server_register();
espconn_mdns_enable();
}
Statistics: Posted by tprochazka — Mon Jun 15, 2015 4:34 am
Statistics: Posted by ESP_Faye — Fri Jun 05, 2015 10:39 am
Code:
struct ip_info sta_ip;
wifi_get_ip_info(STATION_IF, &sta_ip);
struct mdns_info *info = (struct mdns_info *)os_zalloc(sizeof(struct mdns_info));
info->host_name = "myesp8266"; // your device will be accessed using myesp8266.local
info->ipAddr = sta_ip.ip.addr; //ESP8266 station IP
info->server_name = "mywebserver";
info->server_port = 80;
info->txt_data = "version = myesp8266_v1.0";
espconn_mdns_init(info);
Statistics: Posted by Guest — Wed May 27, 2015 2:42 pm
Statistics: Posted by hrsavla — Tue May 26, 2015 12:06 pm
Statistics: Posted by ESP_Faye — Tue May 26, 2015 10:13 am
Code:
void startmdns()
{
struct mdns_info *info = (struct mdns_info *)os_zalloc(sizeof(struct
mdns_info));
info->host_name = (char *) "test";
info->ipAddr = WifiStation.getIP(); //y; //0;//3232235782;// ESP8266 station IP
info->server_name = (char *) "iot";
info->server_port = 80;
char *xyz = (char *) "version = now";
info->txt_data = xyz;
espconn_mdns_init(info);
espconn_mdns_server_register();
espconn_mdns_enable();
}
Statistics: Posted by hrsavla — Sun May 24, 2015 12:12 pm