mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2026-03-20 09:34:52 +00:00
update
This commit is contained in:
parent
3e8794a4a3
commit
20d954e09e
186 changed files with 357 additions and 447 deletions
|
|
@ -41,6 +41,10 @@ void fATST(int argc, char *argv[]) {
|
|||
(void) argc;
|
||||
(void) argv;
|
||||
ShowMemInfo();
|
||||
#if CONFIG_DEBUG_LOG > 1
|
||||
extern int min_free_heap_size;
|
||||
printf("\nMin free heap size %d bytes\n", min_free_heap_size);
|
||||
#endif
|
||||
#if 0 //CONFIG_DEBUG_LOG > 1
|
||||
dump_mem_block_list();
|
||||
tcm_heap_dump();
|
||||
|
|
|
|||
|
|
@ -174,13 +174,19 @@ LOCAL void fATWI(int argc, char *argv[]) {
|
|||
&& wifi_get_setting(wlan_ap_name, &Setting) == 0) {
|
||||
wifi_show_setting(wlan_ap_name, &Setting);
|
||||
// show_wifi_ap_ip();
|
||||
printf("\tIP: " IPSTR "\n", IP2STR(&xnetif[WLAN_AP_NETIF_NUM].ip_addr));
|
||||
printf("\tIP: " IPSTR "\n\n", IP2STR(&xnetif[WLAN_AP_NETIF_NUM].ip_addr));
|
||||
//#if CONFIG_DEBUG_LOG > 1
|
||||
show_wlan_info(WLAN_AP_NETIF_NUM);
|
||||
//#endif
|
||||
}
|
||||
if((wifi_run_mode & RTW_MODE_STA)
|
||||
&& wifi_get_setting(wlan_st_name, &Setting) == 0) {
|
||||
wifi_show_setting(wlan_st_name, &Setting);
|
||||
// show_wifi_st_ip();
|
||||
printf("\tIP: " IPSTR "\n", IP2STR(&xnetif[WLAN_ST_NETIF_NUM].ip_addr));
|
||||
printf("\tIP: " IPSTR "\n\n", IP2STR(&xnetif[WLAN_ST_NETIF_NUM].ip_addr));
|
||||
//#if CONFIG_DEBUG_LOG > 1
|
||||
show_wlan_info(WLAN_ST_NETIF_NUM);
|
||||
//#endif
|
||||
}
|
||||
printf("\nWIFI config:\n");
|
||||
printf(&str_rom_57ch3Dch0A[25]); // "================================\n"
|
||||
|
|
@ -191,10 +197,12 @@ 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"
|
||||
#if SDK_VER_NUM > 0x4000
|
||||
show_wifi_ap_clients();
|
||||
if(wifi_mode & RTW_MODE_AP) {
|
||||
printf("\nWIFI AP clients:\n");
|
||||
printf(&str_rom_57ch3Dch0A[25]); // "================================\n"
|
||||
show_wifi_ap_clients();
|
||||
}
|
||||
#endif
|
||||
printf("\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue