5 Replies Latest reply on Feb 19, 2020 8:46 PM by AkKo_4458241

    About disconnection during MQTT session




      After connecting to AWS, subscribe,
      We will publish, etc.
      While waiting for publishing from the AWS server,
      The MQTT session may be disconnected.

      The calling sequence from the receive callback function is
      It is as follows,

      mqtt_thread_main ()
      Mqtt_process_tcp_receive ()
        Wiced_tcp_receive ()
         Wiced_tls_receive_packet ()
          Mbedtls_ssl_read ()


      Since the return value of mbedtls_ssl_read () is an error,
      "TCP receive error" log is output by mqtt_process_tcp_receive ().

      What is the cause of the error?
      Was access denied from the AWS server?


      Thank you.