Enumerated types

group group_secure_sockets_enums

Enums

enum cy_socket_ip_version_t

cy_socket_ip_version_t: IP Version.

Values:

enumerator CY_SOCKET_IP_VER_V4

IPv4 protocol.

enumerator CY_SOCKET_IP_VER_V6

IPv6 protocol.

enum cy_socket_tls_auth_mode_t

cy_socket_tls_auth_mode_t: Options for socket option CY_SOCKET_SO_TLS_AUTH_MODE.

Values:

enumerator CY_SOCKET_TLS_VERIFY_NONE

Peer certificate is not checked (default authentication mode for server sockets).

enumerator CY_SOCKET_TLS_VERIFY_OPTIONAL

Peer certificate is checked, but the handshake continues even if verification fails.

enumerator CY_SOCKET_TLS_VERIFY_REQUIRED

Peer must present a valid certificate; handshake is aborted if verification failed (default authentication mode for client sockets).

enum cy_socket_interface_t

cy_socket_interface_t: Options for socket option CY_SOCKET_SO_BINDTODEVICE.

Values:

enumerator CY_SOCKET_STA_INTERFACE

STA or Client Interface.

enumerator CY_SOCKET_AP_INTERFACE

softAP Interface