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

Consider whether current length encoding is acceptable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: MQTT-SN-1.2
    • Fix Version/s: None
    • Component/s: MQTT-SN
    • Labels:
      None
    • Resolution:
      Hide

      there was no appetite to change anything.

      Show
      there was no appetite to change anything.

      Description

      From 'suggestions for 1.3' comments.

      The length encoding was extended for version 1.2 to support packets > 255 octets in length, in a backward compatible way.  For packets of length > 255, the length field is 3 octets rather than optimally 2.

      Some options:

      1) Always use 2 octets for the length

      2)  Length field is 1 or 2 octets long.  0 to 6 in the first octet means there is a second octet. The length can be up to 6*256 + 255 (=1791).

      3) the MQTT algorithm, perhaps restricted to fewer octets.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ian.craggs Ian Craggs
                Reporter:
                ian.craggs Ian Craggs
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: