Advanced TCP/TLS configuration options for the WebSocket client.
This structure holds advanced TCP and TLS configuration parameters that can be applied to the WebSocket client before connecting. Use sl_websocket_set_tcp_tls_advanced_configuration to apply these options after initializing the client and before calling connect.
Note
The ssl_ciphers_bitmap and ssl_ext_ciphers_bitmap fields accept cipher suite bitmaps as defined in sl_si91x_socket_constants.h (e.g., SL_SI91X_TLS_DHE_RSA_WITH_AES_256_CBC_SHA256). Invalid or unsupported cipher combinations may result in TLS handshake failures. Use 0 for firmware default cipher suites.
Public Attributes#
Idle time before the first keep-alive probe in seconds (0 = firmware default).
Maximum TCP retransmission attempts (0 = firmware default).
Retransmission timeout cap as a power-of-2 scaling factor (0 = firmware default).
TLS 1.2 and below cipher suite selection bitmap (0 = firmware default). See sl_si91x_socket_constants.h for valid values.
TLS 1.3 cipher suite selection bitmap (0 = firmware default). See sl_si91x_socket_constants.h for valid values.
Public Attribute Documentation#
tcp_keepalive_initial_time_sec#
uint16_t sl_websocket_tcp_tls_advanced_options_t::tcp_keepalive_initial_time_sec
Idle time before the first keep-alive probe in seconds (0 = firmware default).
tcp_max_retry_count#
uint8_t sl_websocket_tcp_tls_advanced_options_t::tcp_max_retry_count
Maximum TCP retransmission attempts (0 = firmware default).
max_retransmission_timeout_value#
uint8_t sl_websocket_tcp_tls_advanced_options_t::max_retransmission_timeout_value
Retransmission timeout cap as a power-of-2 scaling factor (0 = firmware default).
ssl_ciphers_bitmap#
uint32_t sl_websocket_tcp_tls_advanced_options_t::ssl_ciphers_bitmap
TLS 1.2 and below cipher suite selection bitmap (0 = firmware default). See sl_si91x_socket_constants.h for valid values.
ssl_ext_ciphers_bitmap#
uint32_t sl_websocket_tcp_tls_advanced_options_t::ssl_ext_ciphers_bitmap
TLS 1.3 cipher suite selection bitmap (0 = firmware default). See sl_si91x_socket_constants.h for valid values.