ESP8266 Developer Zone The Official ESP8266 Forum 2016-07-29T17:53:43+08:00 https://bbs.espressif.com:443/feed.php?f=62&t=2398 2016-07-29T17:53:43+08:00 2016-07-29T17:53:43+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2398&p=8200#p8200 <![CDATA[Re: MAC地址拿不到]]> Statistics: Posted by yueda — Fri Jul 29, 2016 5:53 pm


]]>
2016-07-11T10:50:23+08:00 2016-07-11T10:50:23+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2398&p=7893#p7893 <![CDATA[Re: MAC地址拿不到]]> blank.bin 烧到 0x7E000 和 0xFE000 两个地址做初始化。

Statistics: Posted by Her Mary — Mon Jul 11, 2016 10:50 am


]]>
2016-07-08T12:47:36+08:00 2016-07-08T12:47:36+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2398&p=7852#p7852 <![CDATA[Re: MAC地址拿不到]]> Statistics: Posted by yueda — Fri Jul 08, 2016 12:47 pm


]]>
2016-07-06T14:22:31+08:00 2016-07-06T14:18:48+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2398&p=7782#p7782 <![CDATA[MAC地址拿不到]]>

Code:

char hwaddr[6];
char DeviceBuffer[125] = {0};
wifi_get_macaddr(STATION_IF, hwaddr);
os_sprintf(DeviceBuffer, "station_mac:" MACSTR "!\n" ,  MAC2STR(hwaddr));
at_port_print(DeviceBuffer);
wifi_get_macaddr(SOFTAP_IF, hwaddr);
os_sprintf(DeviceBuffer, "ap_mac:" MACSTR "!\n" ,  MAC2STR(hwaddr));
at_port_print(DeviceBuffer);
at_port_print("get MAC!\r\n");
ret.jpg

MAC.jpg

Statistics: Posted by yueda — Wed Jul 06, 2016 2:18 pm


]]>