[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (MQTT-560) Error codes need consideration, both quantity and location.
[ https://issues.oasis-open.org/browse/MQTT-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Johnson updated MQTT-560: ------------------------------- Proposal: 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|*| From mqtt 5.0 Decimal Hexadecimal Name Packet 0 0x00 Success CONNACK, PUBACK, PUBREC, PUBREL, PUBCOMP, UNSUBACK, AUTH 0 0x00 Granted QoS 0 SUBACK 1 0x01 Granted QoS 1 SUBACK 2 0x02 Granted QoS 2 SUBACK 4 0x04 Disconnect with Will Message DISCONNECT 16 0x10 No matching subscribers PUBACK, PUBREC 17 0x11 No subscription existed UNSUBACK 24 0x18 Continue authentication AUTH 25 0x19 Re-authenticate AUTH 128 0x80 Unspecified error CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT 129 0x81 Malformed Packet CONNACK, DISCONNECT 130 0x82 Protocol Error CONNACK, DISCONNECT 131 0x83 Implementation specific error CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT 132 0x84 Unsupported Protocol Version CONNACK 133 0x85 Client Identifier not valid CONNACK 134 0x86 Bad User Name or Password CONNACK 135 0x87 Not authorized CONNACK, PUBACK, PUBREC, SUBACK, UNSUBACK, DISCONNECT 136 0x88 Server unavailable CONNACK 137 0x89 Server busy CONNACK, DISCONNECT 138 0x8A Banned CONNACK 139 0x8B Server shutting down DISCONNECT 140 0x8C Bad authentication method CONNACK, DISCONNECT 141 0x8D Keep Alive timeout DISCONNECT 142 0x8E Session taken over DISCONNECT 143 0x8F Topic Filter invalid SUBACK, UNSUBACK, DISCONNECT 144 0x90 Topic Name invalid CONNACK, PUBACK, PUBREC, DISCONNECT 145 0x91 Packet Identifier in use PUBACK, PUBREC, SUBACK, UNSUBACK 146 0x92 Packet Identifier not found PUBREL, PUBCOMP 147 0x93 Receive Maximum exceeded DISCONNECT 148 0x94 Topic Alias invalid DISCONNECT 149 0x95 Packet too large CONNACK, DISCONNECT 150 0x96 Message rate too high DISCONNECT 151 0x97 Quota exceeded CONNACK, PUBACK, PUBREC, SUBACK, DISCONNECT 152 0x98 Administrative action DISCONNECT 153 0x99 Payload format invalid PUBACK, PUBREC, DISCONNECT 154 0x9A Retain not supported CONNACK, DISCONNECT 155 0x9B QoS not supported CONNACK, DISCONNECT 156 0x9C Use another server CONNACK, DISCONNECT 157 0x9D Server moved CONNACK, DISCONNECT 158 0x9E Shared Subscription not supported SUBACK, DISCONNECT 159 0x9F Connection rate exceeded CONNACK, DISCONNECT 160 0xA0 Maximum connect time DISCONNECT 161 0xA1 Subscription Identifiers not supported SUBACK, DISCONNECT 162 0xA2 Wildcard Subscription not supported SUBACK, DISCONNECT > Error codes need consideration, both quantity and location. > ----------------------------------------------------------- > > Key: MQTT-560 > URL: https://issues.oasis-open.org/browse/MQTT-560 > Project: OASIS Message Queuing Telemetry Transport (MQTT) TC > Issue Type: Improvement > Components: MQTT-SN > Affects Versions: MQTT-SN-1.2 > Reporter: Simon Johnson > Assignee: Simon Johnson > Priority: Minor > > 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). -- This message was sent by Atlassian Jira (v8.3.3#803004)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]