SiWx91x-specific socket type length value structure.

Type

Value

Length

SL_SI91X_TLS_EXTENSION_SNI_TYPE

The server name or hostname, provided as a string

Length of the server name or hostname string

SL_SI91X_TLS_EXTENSION_ALPN_TYPE

The application protocol name, provided as a string

Length of the application protocol name string

Note

  • For SNI, provide the server name or hostname as a string (e.g., "example.com").

  • For ALPN, provide the application protocol string (e.g., "http/1.1").

  • Currently, SL_SI91X_TLS_EXTENSION_ALPN_TYPE supports only the HTTP protocol.

Public Attributes#

uint16_t

Specifies the TLS extension type.

uint16_t

Length of the value[] field.

uint8_t

Data corresponding to the specified extension type.

Public Attribute Documentation#

type#

uint16_t sl_si91x_socket_type_length_value_t::type

Specifies the TLS extension type.


length#

uint16_t sl_si91x_socket_type_length_value_t::length

Length of the value[] field.


value#

uint8_t sl_si91x_socket_type_length_value_t::value[]

Data corresponding to the specified extension type.