Close the TLS/SSL connection and free any allocated resources. This function should be called to close each tls connection opened with esp_tls_conn_new_sync() (or esp_tls_conn_http_new_sync()) and esp_tls_conn_new_async() (or esp_tls_conn_http_new_async()) APIs.
Create a new blocking TLS/SSL connection This function establishes a TLS/SSL connection with the specified host in blocking manner.
Read from specified tls connection into the buffer 'data'.
Write from buffer 'data' into specified tls connection.
Internal Callback for mbedtls_cleanup , frees up all the memory used by mbedtls
Create a new non-blocking TLS/SSL connection This function initiates a non-blocking TLS/SSL connection with the specified host, but due to its non-blocking nature, it doesn't wait for the connection to get established.
Create a new blocking TLS/SSL connection with a given "HTTP" url The behaviour is same as esp_tls_conn_new_sync() API. However this API accepts host's url.
Close the server side TLS/SSL connection and free any allocated resources. This function should be called to close each tls connection opened with esp_tls_server_session_create()
Return the number of application data bytes remaining to be read from the current record This API is a wrapper over mbedtls's mbedtls_ssl_get_bytes_avail() API.
Returns the connection socket file descriptor from esp_tls session
Internal Callback API for mbedtls_ssl_read
Internal callback API for mbedtls_ssl_write
Internal Callback for creating ssl handle for mbedtls
Create TLS/SSL server session This function creates a TLS/SSL server context for already accepted client connection and performs TLS/SSL handshake with the client
mbedTLS function for Initializing socket wrappers
Internal Callback for mbedtls_handshake
Internal Callback for Certificate verification for mbedtls
Internal Callback for deleting the mbedtls connection
Internal Callback for mbedtls_get_bytes_avail
Return ssl context for mbedTLS stack
Create TLS/SSL server session
Close the server side TLS/SSL connection and free any allocated resources.
Internal Callback for set_client_config_function
Create a new non-blocking TLS/SSL connection with a given "HTTP" url The behaviour is same as esp_tls_conn_new_async() API. However this API accepts host's url.
Sets the connection socket file descriptor for the esp_tls session
Gets the connection state for the esp_tls session
Sets the connection state for the esp_tls session