Uploaded image for project: 'OASIS Message Queuing Telemetry Transport (MQTT) TC'
  1. OASIS Message Queuing Telemetry Transport (MQTT) TC
  2. MQTT-101

Condition for reuse of a QoS 2 packetID is wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.1
    • Component/s: core
    • Labels:
      None
    • Proposal:
      Hide

      "The PacketId becomes available for reuse after the client has processed the corresponding acknowledgement packet. In the case of a QoS 1 PUBLISH this is the corresponding PUBACK; in the case of QO2 it is PUBCOMP. For SUBSCRIBE or UNSUBSCRIBE it is the corresponding SUBACK or UNSUBACK"

      Show
      "The PacketId becomes available for reuse after the client has processed the corresponding acknowledgement packet. In the case of a QoS 1 PUBLISH this is the corresponding PUBACK; in the case of QO2 it is PUBCOMP. For SUBSCRIBE or UNSUBSCRIBE it is the corresponding SUBACK or UNSUBACK"

      Description

      Working Draft 14 lines 481/482 say "The PacketId becomes available for reuse after the client has processed the corresponding acknowledgement packet (PUBREC in the case of QoS 2)." This is incorrect, as the PacketId cannot be reused until the entire flow has been completed. In the case of QoS 2 this is PUBCOMP not PUBREC.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              PeterNiblett Peter Niblett
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: