| Connectivity Middleware Utilities Library

Macros
TLS results/error codes
Common middleware utilities » Middleware utilities enumerated types

## General Description

List of all the TLS result/error codes defined by the connectivity-utilities library.

## Macros
#define | CY_RSLT_MODULE_TLS_ERR_CODE_START (0)
| TLS error code start.
#define | CY_RSLT_TLS_ERR_BASE CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_TLS_BASE, CY_RSLT_MODULE_TLS_ERR_CODE_START)
| TLS base error code.
#define | CY_RSLT_MODULE_TLS_ERROR ( CY_RSLT_TLS_ERR_BASE + 1 )
| TLS generic error.
#define | CY_RSLT_MODULE_TLS_TIMEOUT ( CY_RSLT_TLS_ERR_BASE + 2 )
| TLS timeout error.
#define | CY_RSLT_MODULE_TLS_BADARG ( CY_RSLT_TLS_ERR_BASE + 3 )
| TLS bad argument.
#define | CY_RSLT_MODULE_TLS_OUT_OF_HEAP_SPACE ( CY_RSLT_TLS_ERR_BASE + 4 )
| TLS out of memory.
#define | CY_RSLT_MODULE_TLS_BAD_INPUT_DATA ( CY_RSLT_TLS_ERR_BASE + 5 )
| TLS bad input.
#define | CY_RSLT_MODULE_TLS_PARSE_KEY ( CY_RSLT_TLS_ERR_BASE + 6 )
| TLS error parsing private key.
#define | CY_RSLT_MODULE_TLS_PARSE_CERTIFICATE ( CY_RSLT_TLS_ERR_BASE + 7 )
| TLS error parsing certificate.
#define | CY_RSLT_MODULE_TLS_UNSUPPORTED ( CY_RSLT_TLS_ERR_BASE + 8 )
| TLS unsupported method.
#define | CY_RSLT_MODULE_TLS_HANDSHAKE_FAILURE ( CY_RSLT_TLS_ERR_BASE + 9 )
| TLS handshake failure.
#define | CY_RSLT_MODULE_TLS_CONNECTION_CLOSED ( CY_RSLT_TLS_ERR_BASE + 10 )
| TLS socket connection closed by peer.
#define | CY_RSLT_MODULE_TLS_SOCKET_NOT_CONNECTED ( CY_RSLT_TLS_ERR_BASE + 11 )
| TLS socket not connected.
#define | CY_RSLT_MODULE_TLS_PKCS_ERROR ( CY_RSLT_TLS_ERR_BASE + 12 )
| PKCS11 generic error.