Error codes need consideration, both quantity and location.

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

      5.3.10 ReturnCode
      The value and meaning of the 1-octet long ReturnCode field is shown in Table 5.

      Value Reason Code Name Packet
      0 0x00 Success CONNACK, PUBACK, PUBREC, PUBREL, PUBCOMP, UNSUBACK, AUTH, DISCONNECT
      200-255 0xC8-0xFF Custom *
      Show
      5.3.10 ReturnCode The value and meaning of the 1-octet long ReturnCode field is shown in Table 5. Value Reason Code Name Packet 0 0x00 Success CONNACK, PUBACK, PUBREC, PUBREL, PUBCOMP, UNSUBACK, AUTH, DISCONNECT 200-255 0xC8-0xFF Custom *

      We should think about defining common error codes, especially around topicId negotiations. We should also ensure every ACK message type has the ability to report errors (where possible).

            Assignee:
            ian.craggs
            Reporter:
            simon.johnson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: