Migrating from WiSeConnect™ SDK v3.5.1 to v3.5.2#

Overview#

This is a guide for updating an existing application using the WiSeConnect™ SDK v3.5.1 to a v3.5.2 application.

There are few naming and file changes in v3.5.2 as compared to v3.5.1, and these are mostly to standardize the names and improve the overall usage experience of the application programming interface (API). Migration requires all of the names to be updated in the existing application.

Migration Steps#

Follow the steps below to convert a WiSeConnect SDK v3.5.1 application to a v3.5.2 application:

  1. Open your existing application project in Simplicity Studio.

  2. In each source file of the project, replace the v3.5.1 names or interfaces with v3.5.2 names or interfaces.

See the tables in the following sections for a comparison of API elements between v3.5.1 and v3.5.2. Differences are emphasized in bold where applicable.

API Naming/Signature Corrections#

Module

v3.5.1

v3.5.2

Network

sl_status_t sl_net_nat_enable (const sl_net_nat_config_t *nat_config)

None

Network

sl_status_t sl_net_nat_disable (const sl_net_interface_t interface)

None

Wi-Fi

sl_status_t sl_wifi_set_rts_threshold (sl_wifi_interface_t interface, uint16_t rts_threshold)

None

Wi-Fi

sl_status_t sl_wifi_get_rts_threshold (sl_wifi_interface_t interface, uint16_t *rts_threshold)

None

Wi-Fi

sl_status_t sl_wifi_set_mfp (sl_wifi_interface_t interface, const sl_wifi_mfp_mode_t config)

None

Wi-Fi

sl_status_t sl_wifi_get_mfp (sl_wifi_interface_t interface, sl_wifi_mfp_mode_t *config)

None

Structure Naming Corrections#

Module

v3.5.1

v3.5.2

None

Updated Structures#

Module

v3.5.1

v3.5.2

Wi-Fi

Added gain_table_version member variable with a value 1 to sli_si91x_gain_table_info_t

Deprecated APIs#

Note: The following elements are applicable to both NCP and SoC modes.

Note: Starting from WC-3.5.2, we recommend using the new versions of APIs/Structures/Macros to ensure compatibility with future releases.

Module

v3.5.1

v3.5.2

None

Deprecated Structures#

Note: The following elements are applicable to both NCP and SoC modes.

Note: Starting from WC-3.5.2, we recommend using the new versions of APIs/Structures/Macros to ensure compatibility with future releases.

Module

v3.5.1

v3.5.2

None

Deprecated Macros#

Note: The following elements are applicable to both NCP and SoC modes.

Note: Starting from WC-3.5.2, we recommend using the new versions of APIs/Structures/Macros to ensure compatibility with future releases.

Module

v3.5.1

v3.5.2

Wi-Fi

SLI_BUFFER_FULL

SLI_WIFI_BUFFER_FULL

Wi-Fi

None

SLI_BLE_BUFFER_FULL

Wi-Fi

SL_STATUS_WIFI_CONNECTION_LOST was defined as 0x0B28

SL_STATUS_WIFI_CONNECTION_LOST is defined as 0x10B28

Note: The following elements are applicable to SoC mode.

Module

v3.5.1

v3.5.2

None

Note#