Core#
Functions#
Get the saved thread specific firmware status value.
Si91X specific set join feature bitmap configuration.
Si91X specific get join feature bitmap configuration.
This API is used to set different module timeouts.
Si91x specific set timeout.
Signals the occurrence of an assertion in the firmware.
Retrieves TA RAM log/dump via Si91x UART/UART2.
Function Documentation#
sl_si91x_get_saved_firmware_status#
static sl_status_t sl_si91x_get_saved_firmware_status (void )
Get the saved thread specific firmware status value.
N/A |
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
85
of file components/device/silabs/si91x/wireless/inc/sl_si91x_core_utilities.h
sl_si91x_set_join_configuration#
sl_status_t sl_si91x_set_join_configuration (sl_wifi_interface_t interface, uint8_t join_feature_bitmap)
Si91X specific set join feature bitmap configuration.
[in] | interface | sl_wifi_interface_t Selected interface. |
[in] | join_feature_bitmap | Join feature bitmap configuration. One of values from Join Feature Bitmap |
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
Note
By default SL_SI91X_JOIN_FEAT_LISTEN_INTERVAL_VALID bitmap is enabled. User can call this API before calling sl_wifi_connect, sl_wifi_start_ap, sl_wifi_start_wps to overwrite the join feature bitmap
558
of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h
sl_si91x_get_join_configuration#
sl_status_t sl_si91x_get_join_configuration (sl_wifi_interface_t interface, uint8_t * join_feature_bitmap)
Si91X specific get join feature bitmap configuration.
[in] | interface | sl_wifi_interface_t Selected interface. |
[out] | join_feature_bitmap | join feature bitmap configuration. One of values from Join Feature Bitmap |
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
Note
By default SL_SI91X_JOIN_FEAT_LISTEN_INTERVAL_VALID bitmap is enabled.
572
of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h
sl_si91x_configure_timeout#
sl_status_t sl_si91x_configure_timeout (sl_si91x_timeout_type_t timeout_type, uint16_t timeout_value)
This API is used to set different module timeouts.
[in] | timeout_type | It is used to identify which timeout type to be set. The possible values can be sl_si91x_timeout_type_t |
[in] | timeout_value | timeout value to be set. The time resolution depends on timeout_type. |
Pre-conditions:
This API should be called after sl_wifi_init
Note
After a successful IP configuration, Gratuitous ARP is used as the periodic WLAN Keep-Alive packet with the configured keep_alive_timeout interval.
If there is no IP configuration, the NULL Data Packets is used as the WLAN Keep-Alive packet.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
593
of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h
sl_si91x_set_timeout#
void sl_si91x_set_timeout (sl_si91x_timeout_t * timeout_config)
Si91x specific set timeout.
[in] | timeout_config | Timeout configuration of type sl_si91x_timeout_t. |
This function is used to set active channel scan timeout, authentication association timeout and keep alive timeout of module. Returns
None
Note
This API should ONLY be called before sl_wifi_init and repeated call to this API will overwrite timeout values stored in SDK, will be applied on next call to sl_wifi_init.
604
of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h
sl_si91x_assert#
sl_status_t sl_si91x_assert (void )
Signals the occurrence of an assertion in the firmware.
N/A |
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
698
of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h
sl_si91x_get_ram_log#
sl_status_t sl_si91x_get_ram_log (uint32_t address, uint32_t length)
Retrieves TA RAM log/dump via Si91x UART/UART2.
[in] | address | Address in Si91x module. |
[in] | length | Chunk length to read from Si91x module. |
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
710
of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h