Statistics: Posted by Her Mary — Mon Jul 11, 2016 10:50 am
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");
Statistics: Posted by yueda — Wed Jul 06, 2016 2:18 pm