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

PUBLISH packet optimisation - (Topic Length)

    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

      Encode the topic length into the topic data field only when the type is Long Topic Name (0b11) and remove the topic length as presently defined

      Show
      Encode the topic length into the topic data field only when the type is Long Topic Name (0b11) and remove the topic length as presently defined

      Description

      The Topic Length field on the PUBLISH is only ever used with meaning for Long Topic Name type. I suggest this is going to be one of the least used of the 4 topicId types. Therefore having the overhead of the extra 2 bytes in every flight seems overkill. 

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: