5 years, 8 months ago.

mbedlts error(-0x7280) on esp8266

Using the example "https://os.mbed.com/users/coisme/notebook/azure-iot-hub-from-mbed-os-device/", Connection to azure iot hub was successful with K64F ethernet, and MQTT pub / sub operation was confirmed.

Now I am trying to connect to the azure iot hub using the NUCLEO-F429ZI & Esp8266-01. Unlike ethernet, when using esp8266, the following error occurs.

[ERR ][TLSW]: mbedtls_ssl_handshake() failed: -0x7280 (-29312): SSL - The connection indicated an EOF

When handling mbedtls_ssl_handshake (), At the MBEDTLS_SSL_SERVER_CHANGE_CIPHER_SPEC execution step of the mbedtls_ssl_handshake_client_step() function, there was no data received from Esp8266 socket_recv ().

I need help solving this problem.

Thanks

Be the first to answer this question.