nxd_mqtt_client_secure_connect does not go into TLS setup callback function

I am using SSP version 1.4 and e2 studio v6.2. 

I am currently trying out the AWS MQTT demo and am trying to recreate it, but my program gets stuck whenever I use the secure_connect function with TLS.

I tried debugging with printing statements and variables using watch expression, and it seems to indicate I am not entering the TLS setup callback function.

Any help would be appreciated. Thank you.

  • Hi Tan,

    How's this issue? Have you already figured out this one?

    RenesasRulz Forum Moderator


  • In reply to JB:

    Hi, I managed to enter the callback function. However, I am now stuck within the callback function, and it seems that my code does not exit the nxd_mqtt_client_secure_connect function after the callback function completes. I am unable to get the status return message from the function and cannot seem to figure out where the problem lies.

    In my callback function, I allocated memory for remote certificates, initialize and added both device certificate and Root CA certificates for Amazon. There is no additional functions other than the ones listed above.
  • In reply to tan:

    This thread will be archived due to inactivity.

    Mike Clements
    RenesasRulz Moderator