SiWx91x-specific socket type length value structure.
Type | Value | Length |
---|---|---|
The server name or hostname, provided as a string | Length of the server name or hostname string | |
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.