Consider whether current length encoding is acceptable

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

      there was no appetite to change anything.

      Show
      there was no appetite to change anything.

      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.

            Assignee:
            ian.craggs
            Reporter:
            ian.craggs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: