Socket Configuration#
The section provides a reference to common socket configuration API function.
Modules#
sl_si91x_socket_type_length_value_t
Functions#
Configures SiWx91x specific socket settings.
Function Documentation#
sl_si91x_config_socket#
sl_status_t sl_si91x_config_socket (sl_si91x_socket_config_t socket_config)
Configures SiWx91x specific socket settings.
[in] | socket_config | Socket configuration of type sl_si91x_socket_config_t. |
This function sets up the socket configuration specific to the SiWx91x. It must be called before invoking sl_si91x_socket_async. The configuration includes setting parameters such as socket type, protocol, and other options specific to the SiWx91x series.
Pre-conditions:
Ensure that the necessary initialization for the SiWx91x module has been completed.
This API is called before calling sl_si91x_socket_async.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/latest/platform-common/status for details.
161
of file components/device/silabs/si91x/wireless/socket/inc/sl_si91x_socket_utility.h