9 months, 2 weeks 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

Comment on this question

1 Answer

8 months, 2 weeks ago.

https://github.com/janjongboom/pelion-ready-plus-azure, Please check above code, Jan Jongboom who is principal developer evangelist of arm has solved a problem. The cause of the problem was a small memory size.


You need to log in to post a question