Hi,
I have implemented MQTT with FREE RTOS code, Now adding TLS with this code I got some issues like:
mbedtls_ssl_flush_output() returned -69 (-0x0045)
, at line 3472 in file .ssl_tls.c
0x20210f98: ssl_write_record() returned -69 (-0x0045)
, at line 3315 in file .ssl_tls.c
0x20210f98: mbedtls_ssl_write_handshake_msg() returned -69 (-0x0045)
, at line 1095 in file .ssl_cli.c
failed
! mbedtls_ssl_handshake returned -0x45
Hi,
I am trying to implement MQTT with TLS but I face some issues in tls handshake,mbedtls handshake -26880 ( MBEDTLS_ERR_SSL_WANT_READ) it is .In wireshark,
client hello is success
server hello, certificate, server key exchange, server hello done is success
but i didn't get the complete tls handshake it is not connecteed to broker because of this error mbedtls handshake -26880 ( MBEDTLS_ERR_SSL_WANT_READ)
server hello
Thank You for your Guidance
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you refer to the AWS_example demos in the SDK library.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi
Note that the uTasker project also includes out-of-the-box MQTT + TLS on Kinetis and i.MX RT 10xx parts:
User's guide: https://www.utasker.com/docs/uTasker/uTasker_MQTT.pdf
Video: https://www.youtube.com/watch?v=-_CV2aXHyjw&list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&index=24
Regards
Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or product development requirements