2 Replies Latest reply on Feb 9, 2016 7:31 AM by userc_24369

    Some Questions About MQTT

      Hello All,


      I have three questions about MQTT protocol and its usage in WICED.


      1.As I understood, there's no timeout mechanism in MQTT protocol.

      However in Wiced API MQTT snips, WICED_MQTT_TIMEOUT is defined and in AWS demos MQTT_REQUEST_TIMEOUT is defined.

      Is this timeout something you added such that after some time it'll return error? Or Is it a part of the MQTT protocol which I missed?


      2.The ACK mechanism of MQTT is different for different QoS choices. Doesn't MQTT run over TCP, do we really have to run an ACK mechanism? What improvement does this mechanism add on top of TCP?


      3.As I understood with AWS, we can only use QoS 0 or 1 (the AWS demo also uses QoS 1), what would you propose to get QoS 2 functionality while using AWS?


      4.Is there a sample application which implements MQTT over TLS?