Update Configuration#

In your existing application, replace each WiSeConnectâ„¢ SDK v2.x configuration parameter with the equivalent v3.x configuration parameter. Refer to the table below for the mapping of v2.x to v3.x configuration parameters.

v2.x configuration parameters are listed in alphabetical order of parameter name.

V2.x Configuration

v3.x Configuration

Notes

uint16_t beacon_interval parameter in rsi_wlan_ap_start()

uint16_t sl_wifi_ap_configuration_t :: beacon_interval

API parameter in v2.x API is mapped to struct member in v3.x.

uint8_t rsi_opermode_t :: ble_ext_feature_bit_map[4]

uint32_t sl_si91x_boot_configuration_t :: ble_ext_feature_bit_map

uint8_t rsi_opermode_t :: ble_feature_bit_map[4]

uint32_t sl_si91x_boot_configuration_t :: ble_feature_bit_map

uint16_t coex_mode parameter in rsi_wireless_init()

uint16_t sl_si91x_boot_configuration_t :: coex_mode

API parameter in v2.x API is mapped to struct member in v3.x.

uint8_t channel parameter in rsi_wlan_ap_start()

sl_wifi_channel_t sl_wifi_ap_configuration_t :: channel

API parameter in v2.x API is mapped to struct member in v3.x.

uint8_t rsi_opermode_t :: config_feature_bit_map[4]

uint32_t sl_si91x_boot_configuration_t :: config_feature_bit_map

uint8_t dtim_period parameter in rsi_wlan_ap_start()

uint16_t sl_wifi_ap_configuration_t :: dtim_beacon_count

API parameter in v2.x API is mapped to struct member in v3.x.

rsi_encryption_mode_t encryption_mode parameter in rsi_wlan_ap_start()

sl_wifi_encryption_t sl_wifi_ap_configuration_t :: encryption

API parameter in v2.x API is mapped to struct member in v3.x.

uint8_t twt_user_params_t :: implicit_twt

uint8_t sl_wifi_twt_request_t :: implicit_twt

uint8_t *ip_addr, uint8_t *mask, uint8_t *gw parameters in rsi_config_ipaddress()

union { sl_net_ipv4_setting_t v4; sl_net_ipv6_setting_t v6; } sl_net_ip_configuration_t :: ip

All three v2.x function parameters are set in v3.x using a struct member.

uint8_t mode parameter in rsi_config_ipaddress()

sl_ip_management_t sl_net_ip_configuration_t :: mode

API parameter in v2.x API is mapped to struct member in v3.x.

uint16_t oper_mode parameter in rsi_wireless_init()

uint16_t sl_si91x_boot_configuration_t :: oper_mode

API parameter in v2.x API is mapped to struct member in v3.x.

uint8_t rsi_eap_credentials_t :: password[128]

uint8_t sl_wifi_eap_credential_t :: password[SL_EAP_PASSWORD_LENGTH]

uint8_t twt_user_params_t :: restrict_tx_outside_tsp

uint8_t sl_wifi_twt_request_t :: restrict_tx_outside_tsp

uint8_t twt_user_params_t :: req_type

uint8_t sl_wifi_twt_request_t :: req_type

RSI_CUSTOM_FEATURE_BIT_MAP

uint32_t sl_si91x_boot_configuration_t :: custom_feature_bit_map

Macro in v2.x API is mapped to struct member in v3.x.

RSI_EXT_CUSTOM_FEATURE_BIT_MAP

uint32_t sl_si91x_boot_configuration_t :: ext_custom_feature_bit_map

Macro in v2.x API is mapped to struct member in v3.x.

RSI_EXT_TCPIP_FEATURE_BITMAP

uint32_t sl_si91x_boot_configuration_t :: ext_tcp_ip_feature_bit_map

Macro in v2.x API is mapped to struct member in v3.x.

RSI_FEATURE_BIT_MAP

uint32_t sl_si91x_boot_configuration_t :: feature_bit_map

Macro in v2.x API is mapped to struct member in v3.x.

RSI_TCP_IP_FEATURE_BIT_MAP

uint32_t sl_si91x_boot_configuration_t :: tcp_ip_feature_bit_map

Macro in v2.x API is mapped to struct member in v3.x.

rsi_security_mode_t sec_type parameter in rsi_wla_connect()

sl_wifi_security_t sl_wifi_client_configuration_t :: security

API parameter in v2.x API is mapped to struct member in v3.x.

int8_t *ssid parameter in rsi_wlan_connect()

sl_wifi_ssid_t sl_wifi_client_configuration_t :: ssid

API parameter in v2.x API is mapped to struct member in v3.x.

uint8_t twt_user_params_t :: triggered_twt

uint8_t sl_wifi_twt_request_t :: triggered_twt

uint8_t twt_user_params_t :: twt_channel

uint8_t sl_wifi_twt_request_t :: twt_channel

uint8_t twt_enable parameter in rsi_wlan_twt_config()

uint8_t sl_wifi_twt_request_t :: twt_enable

API parameter in v2.x API is mapped to struct member in v3.x.

uint8_t twt_flow_id parameter in rsi_wlan_twt_config()

uint8_t sl_wifi_twt_request_t :: twt_flow_id

API parameter in v2.x API is mapped to struct member in v3.x.

uint8_t twt_user_params_t :: twt_retry_limit

uint8_t sl_wifi_twt_request_t :: twt_retry_limit

uint8_t twt_user_params_t :: twt_retry_interval

uint8_t sl_wifi_twt_request_t :: twt_retry_interval

uint8_t twt_user_params_t :: twt_protection

uint8_t sl_wifi_twt_request_t :: twt_protection

uint8_t twt_user_params_t :: un_announced_twt

uint8_t sl_wifi_twt_request_t :: un_announced_twt

uint8_t rsi_eap_credentials_t :: username[64]

uint8_t sl_wifi_eap_credential_t :: username[SL_EAP_USER_NAME_LENGTH]

rsi_ip_version_t version parameter in rsi_config_ipaddress()

sl_ip_address_type_t sl_net_ip_configuration_t :: type

API parameter in v2.x API is mapped to struct member in v3.x.

uint8_t twt_user_params_t :: wake_duration

uint8_t sl_wifi_twt_request_t :: wake_duration

uint8_t twt_user_params_t :: wake_duration_tol

uint8_t sl_wifi_twt_request_t :: wake_duration_tol

uint8_t twt_user_params_t :: wake_duration_unit

uint8_t sl_wifi_twt_request_t :: wake_duration_unit

uint8_t twt_user_params_t :: wake_int_exp

uint8_t sl_wifi_twt_request_t :: wake_int_exp

uint8_t twt_user_params_t :: wake_int_exp_tol

uint8_t sl_wifi_twt_request_t :: wake_int_exp_tol

uint16_t twt_user_params_t :: wake_int_mantissa

uint16_t sl_wifi_twt_request_t :: wake_int_mantissa

uint16_t twt_user_params_t :: wake_int_mantissa_tol

uint16_t sl_wifi_twt_request_t :: wake_int_mantissa_tol