Skip to content

Commit

Permalink
WiSeConnect release: 2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wifi-ci-agent committed Dec 14, 2023
1 parent c3843e9 commit c95f054
Show file tree
Hide file tree
Showing 647 changed files with 42,678 additions and 5,852 deletions.
133 changes: 0 additions & 133 deletions examples/at_commands/teraterm/wlan_fw_update/fw_update_over_wifi.ttl

This file was deleted.

112 changes: 0 additions & 112 deletions examples/at_commands/teraterm/wlan_fw_update/readme.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/at_commands/teraterm/wlan_station_mode/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The module responds with information of the Access Point scanned. The data recei
The pop up window would display "Device is now listening for TCP connections on address x.x.x.x and port y". Here x.x.x.x Ip address of the Module and 'y' is the port number of the Module Socket.
![Server IP address and port number confirmation message](./resources/station-mode-prompt-tcp-connection.png)

**STEP 13.** Open a TCP client socket on a remote peer and connect to the server socket by giving the server IP and port number.
**STEP 13.** Open a TCP client socket on a remote peer and connect to the server socket. Users can use "TCP/UDP test tool" application to open the TCP client socket. Enter the server IP and port number that we got from the above pop-up in the remote peer application (here TCP/UDP test tool) in the appropriate fields provided. Note that the remote peer should be connected to the same network to which module is connected.

**STEP 14.** Observe that the following message is printed on the terminal window, once the TCP connection is set up with the remote peer.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
<macroDefinition name="RSI_DEBUG_PRINTS" />
<macroDefinition name="RSI_WLAN_ENABLE" />

<macroDefinition name="RSI_CRYPTO_ENABLE" />

<macroDefinition name="RSI_WLAN_API_ENABLE" />
<macroDefinition name="RSI_WITH_OS" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
<macroDefinition name="RSI_DEBUG_PRINTS" />
<macroDefinition name="RSI_WLAN_ENABLE" />

<macroDefinition name="RSI_CRYPTO_ENABLE" />

<macroDefinition name="RSI_WLAN_API_ENABLE" />
<macroDefinition name="RSI_WITH_OS" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
<macroDefinition name="RSI_DEBUG_PRINTS" />
<macroDefinition name="RSI_WLAN_ENABLE" />

<macroDefinition name="RSI_CRYPTO_ENABLE" />

<macroDefinition name="RSI_WLAN_API_ENABLE" />
<macroDefinition name="RSI_WITH_OS" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
<v6Rtti>0</v6Rtti>
<VariousControls>
<MiscControls>--C99 --reduce_paths</MiscControls>
<Define>WISECONNECT RSI_SAMPLE_HAL RSI_DEBUG_PRINTS RSI_WLAN_ENABLE FLOAT_PRINT_BYPASS EXECUTION_FROM_RAM USE_HAL_DRIVER STM32F411xE RSI_DEBUG_PRINTS RSI_WLAN_API_ENABLE RSI_WITH_OS </Define>
<Define>WISECONNECT RSI_SAMPLE_HAL RSI_DEBUG_PRINTS RSI_WLAN_ENABLE FLOAT_PRINT_BYPASS EXECUTION_FROM_RAM USE_HAL_DRIVER STM32F411xE RSI_DEBUG_PRINTS RSI_WLAN_API_ENABLE RSI_WITH_OS RSI_CRYPTO_ENABLE </Define>
<Undefine></Undefine>
<IncludePath>../../../../examples/featured/aws_device_shadow;../../../../sapi/include; ../../../../sapi/network/protocols; ../../../../platforms/stm32/drivers/STM32F4xx_HAL_Driver/Inc; ../../../../platforms/stm32/drivers/STM32F4xx_HAL_Driver/Inc/Legacy; ../../../../platforms/stm32/drivers/CMSIS/Include; ../../../../platforms/stm32/drivers/CMSIS/Device/ST/STM32F4xx/Include; ../../../../platforms/stm32/core/inc; ../../../../platforms/stm32/boards/nucleo-f411re; ../../../../sapi/network/protocols; ../../../../resources/certificates; ../../../../third_party/aws_sdk/include; ../../../../third_party/aws_sdk/platform/silabs/inc; ../../../../third_party/freertos/include; ../../../../third_party/freertos/portable; ../../../../sapi/rtos/freertos_wrapper; platforms/stm32/boards/nucleo-f411re</IncludePath>
</VariousControls>
Expand Down
18 changes: 0 additions & 18 deletions examples/featured/aws_device_shadow/rsi_aws_device_shadow.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ int32_t application(void)
sp.enableAutoReconnect = NULL;
sp.disconnectHandler = NULL;

#ifndef RSI_M4_INTERFACE
status = rsi_driver_init(global_buf, GLOBAL_BUFF_LEN);
if ((status < 0) || (status > GLOBAL_BUFF_LEN)) {
return status;
Expand All @@ -256,7 +255,6 @@ int32_t application(void)
LOG_PRINT("\r\nDevice Initialization Failed, Error Code : 0x%lX\r\n", status);
return status;
}
#endif

#ifdef RSI_WITH_OS
// Create Semaphore rsi_shadow_sem
Expand Down Expand Up @@ -509,22 +507,6 @@ int32_t application(void)

int main()
{
#ifdef RSI_M4_INTERFACE
int32_t status = RSI_SUCCESS;
// Driver initialization
status = rsi_driver_init(global_buf, GLOBAL_BUFF_LEN);
if ((status < 0) || (status > GLOBAL_BUFF_LEN)) {
return status;
}

// Silicon labs module intialisation
status = rsi_device_init(LOAD_NWP_FW);
if (status != RSI_SUCCESS) {
LOG_PRINT("\r\nDevice Initialization Failed, Error Code : 0x%lX\r\n", status);
return status;
}
LOG_PRINT("\r\nDevice Initialization Success\r\n");
#endif

#ifdef RSI_WITH_OS
rsi_task_handle_t application_handle = NULL;
Expand Down
15 changes: 13 additions & 2 deletions examples/featured/aws_device_shadow/rsi_wlan_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
/*=======================================================================*/
#if !(ENABLE_POWER_SAVE)
// To set wlan feature select bit map
#define RSI_FEATURE_BIT_MAP (FEAT_SECURITY_OPEN)
#define RSI_FEATURE_BIT_MAP (FEAT_SECURITY_PSK)

// TCP IP BYPASS feature check
#define RSI_TCP_IP_BYPASS RSI_DISABLE
Expand All @@ -58,14 +58,19 @@
// To set custom feature select bit map ;
#define RSI_CUSTOM_FEATURE_BIT_MAP (FEAT_CUSTOM_FEAT_EXTENTION_VALID)

#ifdef RSI_M4_INTERFACE
// To set Extended custom feature select bit map
#define RSI_EXT_CUSTOM_FEATURE_BIT_MAP (BIT(1) | BIT(3) | BIT(27) | MEMORY_CONFIG)
#else
// To set Extended custom feature select bit map
#define RSI_EXT_CUSTOM_FEATURE_BIT_MAP (RAM_LEVEL_NWP_MEDIUM_MCU_MEDIUM | BIT(1) | BIT(3) | BIT(27))
#endif

#define RSI_EXT_TCPIP_FEATURE_BITMAP 0

#else
//! To set wlan feature select bit map
#define RSI_FEATURE_BIT_MAP (FEAT_SECURITY_OPEN | FEAT_ULP_GPIO_BASED_HANDSHAKE)
#define RSI_FEATURE_BIT_MAP (FEAT_SECURITY_PSK | FEAT_ULP_GPIO_BASED_HANDSHAKE)

//! TCP IP BYPASS feature check
#define RSI_TCP_IP_BYPASS RSI_DISABLE
Expand All @@ -77,9 +82,15 @@
//! To set custom feature select bit map
#define RSI_CUSTOM_FEATURE_BIT_MAP FEAT_CUSTOM_FEAT_EXTENTION_VALID

#ifdef RSI_M4_INTERFACE
//! To set Extended custom feature select bit map
#define RSI_EXT_CUSTOM_FEATURE_BIT_MAP \
(EXT_FEAT_LOW_POWER_MODE | EXT_FEAT_XTAL_CLK_ENABLE | BIT(1) | BIT(3) | BIT(27) | MEMORY_CONFIG)
#else
//! To set Extended custom feature select bit map
#define RSI_EXT_CUSTOM_FEATURE_BIT_MAP \
(EXT_FEAT_LOW_POWER_MODE | EXT_FEAT_XTAL_CLK_ENABLE | RAM_LEVEL_NWP_MEDIUM_MCU_MEDIUM | BIT(1) | BIT(3) | BIT(27))
#endif

#define RSI_EXT_TCPIP_FEATURE_BITMAP CONFIG_FEAT_EXTENTION_VALID

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
<macroDefinition name="RSI_DEBUG_PRINTS" />
<macroDefinition name="RSI_WLAN_ENABLE" />

<macroDefinition name="RSI_CRYPTO_ENABLE" />

<macroDefinition name="RSI_BLE_ENABLE" />
<macroDefinition name="RSI_WITH_OS" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
<macroDefinition name="RSI_DEBUG_PRINTS" />
<macroDefinition name="RSI_WLAN_ENABLE" />

<macroDefinition name="RSI_CRYPTO_ENABLE" />

<macroDefinition name="RSI_BLE_ENABLE" />
<macroDefinition name="RSI_WITH_OS" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
<macroDefinition name="RSI_DEBUG_PRINTS" />
<macroDefinition name="RSI_WLAN_ENABLE" />

<macroDefinition name="RSI_CRYPTO_ENABLE" />

<macroDefinition name="RSI_BLE_ENABLE" />
<macroDefinition name="RSI_WITH_OS" />
Expand Down
Loading

0 comments on commit c95f054

Please sign in to comment.