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

Inconsistency in the definition of the Remaining Length field for the different control packets

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.1
    • Component/s: edits
    • Labels:
      None
    • Proposal:
      Hide

      Always define the Remaining Length field as being a multibyte field.

      Show
      Always define the Remaining Length field as being a multibyte field.

      Description

      The Remaining Length field is sometimes defined as a "IS a multibyte field" (see e.g. CONNECT packet line 623 or PUBLISH packet line 988) and sometimes as a "CAN BE a multibyte field (see e.g. PUBACK packet line 1171 or SUBSCRIBE packet line 1381).

      I believe the wording should be more consistent and always define this field as a "Is a multibyte field".

      I also noted that the Remaining Length field is not defined for the CONNACK packet, and incorrectly defined for the SUBSCRIBE packet (it should be "The length of the payload and the variable header.").

        Attachments

          Activity

            People

            • Assignee:
              ragupta2 Rahul Gupta (Inactive)
              Reporter:
              julien.niset Julien Niset (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: