Assigned Client Identifier should be less than 247 bytes

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Component/s: MQTT-SN
    • None
    • Hide

      It is suggested that the 36 character Universally Unique IDentifier (UUID) format described in RFC9562 is used for MQTT-SN Assigned Client Identifiers. In any case they should be no longer than 36 characters.

      (RFC9562 describes UUIDs that are 128 bits in size, 16 bytes or 32 hexadecimal digits. These UUIDs are commonly expressed in 36 characters, including 4 dashes as separators such as the following: f81d4fae-7dec-11d0-a765-00a0c91e6bf6.)

      Show
      It is suggested that the 36 character Universally Unique IDentifier (UUID) format described in RFC9562 is used for MQTT-SN Assigned Client Identifiers. In any case they should be no longer than 36 characters. (RFC9562 describes UUIDs that are 128 bits in size, 16 bytes or 32 hexadecimal digits. These UUIDs are commonly expressed in 36 characters, including 4 dashes as separators such as the following: f81d4fae-7dec-11d0-a765-00a0c91e6bf6.)

      In section 3.5.10, it says:

      Informative comment

      Assigned Client Identifiers SHOULD be less than 247 bytes so they can be accommodated in a small packet version. This is also to cater for devices which may not support larger Client Identifiers.

      But the auth fields can be up to 256 bytes each. Only 36 characters is needed for a UUID, so I think this should be a lot shorter, say 64 bytes?

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

              Created:
              Updated:
              Resolved: