From 6e5a6cc095c5941a1f2479d6855a985a6f407e3c Mon Sep 17 00:00:00 2001 From: Seline James Date: Mon, 14 Oct 2024 09:11:47 +0530 Subject: [PATCH] WSR2-1034 : Enabled Ping command in Easy Config Application --- .../mcc-manifest-autosave.yml | 4 ++-- .../mcc-manifest-generated-success.yml | 4 ++-- .../nbproject/configurations.xml | 16 +++++++++++++++- ...sy_config_pic32mz_w1_curiosity_freertos.mc3 | 18 +++++++++++++++++- .../configuration.h | 7 ++++++- .../harmony-manifest-success.yml | 2 +- 6 files changed, 43 insertions(+), 8 deletions(-) diff --git a/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/mcc-manifest-autosave.yml b/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/mcc-manifest-autosave.yml index 5deb0e2..42cbad4 100644 --- a/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/mcc-manifest-autosave.yml +++ b/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/mcc-manifest-autosave.yml @@ -2,7 +2,7 @@ manifest_file_version: 1.0.0 project: wifi_easy_config_pic32mz_w1_curiosity_freertos -creation_date: 2024-09-26T15:30:17.679+05:30[Asia/Calcutta] +creation_date: 2024-10-14T09:01:05.126+05:30[Asia/Calcutta] operating_system: Windows 10 mcc_mode: IDE mcc_mode_version: v6.20 @@ -22,7 +22,7 @@ modules: - {name: csp, type: HARMONY, version: v3.19.6} - {name: wireless_wifi, type: HARMONY, version: v3.11.1} - {name: littlefs, type: HARMONY, version: v2.9.0} -- {name: wireless_system_pic32mzw1_wfi32e01, type: HARMONY, version: v3.9.1} +- {name: wireless_system_pic32mzw1_wfi32e01, type: HARMONY, version: WSR2-1034_v3_9_1_Release} - {name: wolfssl, type: HARMONY, version: v5.4.0} - {name: net, type: HARMONY, version: v3.12.2} - {name: bsp, type: HARMONY, version: v3.20.1} diff --git a/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/mcc-manifest-generated-success.yml b/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/mcc-manifest-generated-success.yml index 0f7340b..9c80d8d 100644 --- a/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/mcc-manifest-generated-success.yml +++ b/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/mcc-manifest-generated-success.yml @@ -2,7 +2,7 @@ manifest_file_version: 1.0.0 project: wifi_easy_config_pic32mz_w1_curiosity_freertos -creation_date: 2024-09-26T15:15:11.267+05:30[Asia/Calcutta] +creation_date: 2024-10-14T09:01:03.486+05:30[Asia/Calcutta] operating_system: Windows 10 mcc_mode: IDE mcc_mode_version: v6.20 @@ -22,7 +22,7 @@ modules: - {name: csp, type: HARMONY, version: v3.19.6} - {name: wireless_wifi, type: HARMONY, version: v3.11.1} - {name: littlefs, type: HARMONY, version: v2.9.0} -- {name: wireless_system_pic32mzw1_wfi32e01, type: HARMONY, version: v3.9.1} +- {name: wireless_system_pic32mzw1_wfi32e01, type: HARMONY, version: WSR2-1034_v3_9_1_Release} - {name: wolfssl, type: HARMONY, version: v5.4.0} - {name: net, type: HARMONY, version: v3.12.2} - {name: bsp, type: HARMONY, version: v3.20.1} diff --git a/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/nbproject/configurations.xml b/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/nbproject/configurations.xml index e3a4912..3903cba 100644 --- a/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/nbproject/configurations.xml +++ b/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/nbproject/configurations.xml @@ -855,7 +855,7 @@ PIC32MZ1025W104132 - pkob4hybrid + pk4hybrid XC32 4.45 3 @@ -1037,6 +1037,20 @@ + + + + + + + + + + + + + + diff --git a/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/wifi_easy_config_pic32mz_w1_curiosity_freertos.mc3 b/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/wifi_easy_config_pic32mz_w1_curiosity_freertos.mc3 index 0207205..59f7937 100644 --- a/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/wifi_easy_config_pic32mz_w1_curiosity_freertos.mc3 +++ b/apps/wifi_easy_config/firmware/pic32mz_w1_curiosity_freertos.X/wifi_easy_config_pic32mz_w1_curiosity_freertos.mc3 @@ -5247,6 +5247,22 @@ NETWORK LAYER + + + <?xml version="1.0" encoding="UTF-8"?><tcpipIcmp> + <tcpipIcmp dnOrder="0" id="TCPIP_ICMP_COMMAND_ENABLE"> + <Attributes dnOrder="0"> + <Boolean dnOrder="0" id="visible"> + <Value dnOrder="0">true</Value> + </Boolean> + </Attributes> + <Values dnOrder="1"> + <User dnOrder="0" value="true"/> + </Values> + </tcpipIcmp> +</tcpipIcmp> + + <?xml version="1.0" encoding="UTF-8"?><tcpipNetConfig> @@ -5873,7 +5889,7 @@ ..\src\config\pic32mz_w1_curiosity_freertos\configuration.h - 71f6658e39ca52225182f4efef1879eae8b184979e130c3d5a325a52daef36a3 + 4e3df1f8ae68991d97181920053fee64c50bf16f41cb267445982d450640e682 ..\src\config\pic32mz_w1_curiosity_freertos\crypto\crypto.h diff --git a/apps/wifi_easy_config/firmware/src/config/pic32mz_w1_curiosity_freertos/configuration.h b/apps/wifi_easy_config/firmware/src/config/pic32mz_w1_curiosity_freertos/configuration.h index d9a8948..f11bd97 100644 --- a/apps/wifi_easy_config/firmware/src/config/pic32mz_w1_curiosity_freertos/configuration.h +++ b/apps/wifi_easy_config/firmware/src/config/pic32mz_w1_curiosity_freertos/configuration.h @@ -224,7 +224,12 @@ extern "C" { #define TCPIP_ICMP_ECHO_REQUEST_TIMEOUT 500 #define TCPIP_ICMP_TASK_TICK_RATE 33 #define TCPIP_STACK_MAX_CLIENT_ECHO_REQUESTS 4 -#define TCPIP_ICMP_COMMAND_ENABLE false +#define TCPIP_ICMP_COMMAND_ENABLE true +#define TCPIP_STACK_COMMANDS_ICMP_ECHO_REQUESTS 4 +#define TCPIP_STACK_COMMANDS_ICMP_ECHO_REQUEST_DELAY 1000 +#define TCPIP_STACK_COMMANDS_ICMP_ECHO_TIMEOUT 5000 +#define TCPIP_STACK_COMMANDS_ICMP_ECHO_REQUEST_BUFF_SIZE 2000 +#define TCPIP_STACK_COMMANDS_ICMP_ECHO_REQUEST_DATA_SIZE 100 #define SYS_WIFIPROV_NVMADDR 0x900FF000 #define SYS_WIFIPROV_SAVECONFIG true diff --git a/apps/wifi_easy_config/firmware/src/config/pic32mz_w1_curiosity_freertos/harmony-manifest-success.yml b/apps/wifi_easy_config/firmware/src/config/pic32mz_w1_curiosity_freertos/harmony-manifest-success.yml index 3d5e7d2..59ee71c 100644 --- a/apps/wifi_easy_config/firmware/src/config/pic32mz_w1_curiosity_freertos/harmony-manifest-success.yml +++ b/apps/wifi_easy_config/firmware/src/config/pic32mz_w1_curiosity_freertos/harmony-manifest-success.yml @@ -4,7 +4,7 @@ project: wifi_easy_config -creation_date: 2024-09-26T15:15:12.007+05:30[Asia/Calcutta] # ISO 8601 format: https://www.w3.org/TR/NOTE-datetime +creation_date: 2024-10-14T09:01:04.179+05:30[Asia/Calcutta] # ISO 8601 format: https://www.w3.org/TR/NOTE-datetime operating_system: Windows 10 mcc_mode: IDE # [IDE|Standalone|Headless] mcc_version: v5.5.1