Advanced TCP/TLS configuration options for the HTTP client.

This structure holds advanced TCP and TLS configuration parameters that can be applied to the HTTP client before sending requests. Use sl_http_client_set_tcp_tls_advanced_configuration to apply these options after initializing the client.

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#

uint16_t

Idle time before the first keep-alive probe in seconds (0 = firmware default).

uint8_t

Maximum TCP retransmission attempts (0 = firmware default).

uint8_t

Retransmission timeout cap as a power-of-2 scaling factor (0 = firmware default).

uint32_t

TLS 1.2 and below cipher suite selection bitmap (0 = firmware default). See sl_si91x_socket_constants.h for valid values.

uint32_t

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_http_client_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_http_client_tcp_tls_advanced_options_t::tcp_max_retry_count

Maximum TCP retransmission attempts (0 = firmware default).


max_retransmission_timeout_value#

uint8_t sl_http_client_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_http_client_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_http_client_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.