fix(esp-tls): added missing event tracker capture during mbedtls read operation

This commit fixed missing event tracker capture and
added new error code ESP_ERR_MBEDTLS_SSL_READ_FAILED.

Closes https://github.com/espressif/esp-idf/issues/16239
This commit is contained in:
nilesh.kale
2025-08-14 14:03:27 +05:30
parent 93603cd3a3
commit adf5b7fc91
3 changed files with 5 additions and 0 deletions
@@ -746,6 +746,9 @@ static const esp_err_msg_t esp_err_msg_table[] = {
# ifdef ESP_ERR_MBEDTLS_SSL_TICKET_SETUP_FAILED
ERR_TBL_IT(ESP_ERR_MBEDTLS_SSL_TICKET_SETUP_FAILED), /* 32796 0x801c mbedtls api returned failed */
# endif
# ifdef ESP_ERR_MBEDTLS_SSL_READ_FAILED
ERR_TBL_IT(ESP_ERR_MBEDTLS_SSL_READ_FAILED), /* 32797 0x801d mbedtls api returned failed */
# endif
# ifdef ESP_ERR_WOLFSSL_SSL_SET_HOSTNAME_FAILED
ERR_TBL_IT(ESP_ERR_WOLFSSL_SSL_SET_HOSTNAME_FAILED), /* 32817 0x8031 wolfSSL api returned error */
# endif