This commit is contained in:
pvvx 2017-07-31 17:40:43 +03:00
parent fb8cc58058
commit 0cefdb9956
6 changed files with 40 additions and 15 deletions

View file

@ -191,6 +191,9 @@ LOCAL void fATWI(int argc, char *argv[]) {
printf("\nWIFI ST config:\n");
printf(&str_rom_57ch3Dch0A[25]); // "================================\n"
show_wifi_st_cfg();
printf("\nWIFI AP clients:\n");
printf(&str_rom_57ch3Dch0A[25]); // "================================\n"
show_wifi_ap_clients();
printf("\n");
}

View file

@ -519,7 +519,6 @@ extern int adc_ws(TCP_SERV_CONN *ts_conn, char cmd);
else ifcmp("gw") tcp_puts(IPSTR, IP2STR(&wifi_ap_dhcp.gw));
else ifcmp("msk") tcp_puts(IPSTR, IP2STR(&wifi_ap_dhcp.mask));
else ifcmp("cip") tcp_puts(IPSTR, IP2STR(&xnetif[WLAN_ST_NETIF_NUM].ip_addr.addr));
// else ifcmp("mac") strtomac(pvar, wifi_ap_cfg.macaddr);
// else ifcmp("sip") tcp_puts(IPSTR, IP2STR(&wifi_ap_dhcp.start_ip));
// else ifcmp("eip") tcp_puts(IPSTR, IP2STR(&wifi_ap_dhcp.end_ip));