This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem running MQTT with TLS on nRF52

Hello,

We are using Nordic SDK 11 MQTT adapted for TCP/IPv4(separate module) . It works fine without TLS. I added the flag "MQTT_TRANSPORT_SECURE" and made adaptations to the tls functions in mqtt_transport.c. I then went step-by-step through the execution, fixing errors in my adaptation. I, however, got stuck at the hand-shake part. There I get The connection indicated an EOF when I am waiting for the server's response. Afterwards, I get many handler calls mqtt_socket_event_handler with message type SOCKET_MSG_RECV and it finally crashes.

If someone has any idea please help me out.

thank you.

Related