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

PUBLISH packet optimisation - (PacketID)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Applied
    • Priority: Major
    • Resolution: Applied
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MQTT-SN
    • Labels:
      None
    • Proposal:
      Hide

      Duplicate the PUBLISH packet definition and have distinct versions for QoS -1 & 0 and QoS 1 & 2. The former will have no mention of PacketId

      Show
      Duplicate the PUBLISH packet definition and have distinct versions for QoS -1 & 0 and QoS 1 & 2. The former will have no mention of PacketId

      Description

      The presense of PacketID in the PUBLISH is not required when publishing QoS -1 or QoS 0 messages. Omitting it as an optimisation in these cases would save 2 bytes per flight.

        Attachments

          Activity

            People

            • Assignee:
              thesii Simon Johnson [X] (Inactive)
              Reporter:
              simon.johnson1 Simon Johnson [X] (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: