Conformance
How OrbitMQ maps every normative requirement in the MQTT specifications to tests, with the generated matrix.
OrbitMQ's goal is 100% conformance with MQTT 3.1, 3.1.1 and 5.0. "Conformance" here means something specific and checkable, not a marketing claim.
Requirement-mapped testing
- Catalogue. Each normative statement in the specifications (for example
[MQTT-3.1.0-1]in 3.1.1 and 5.0) is recorded as a requirement with a stable ID in the project'sspecs/requirementscatalogue, with a short paraphrase, its section, its level (MUST, SHOULD, MAY and their negations) and whether it binds the server. MQTT 3.1 has no numbered requirements, so its normative statements are given project IDs (V31-…). - Tests reference requirements. Every test declares the requirement IDs it covers with a comment such as
// req: 5.0/MQTT-3.3.1-4. The spec version is part of the reference because the same tag number means different things in 3.1.1 and 5.0. - Gaps are errors. A test that references an unknown requirement fails the check, and the checker fails a milestone gate while any server-binding requirement scheduled for that milestone has no test.
- Waivers are explicit. A requirement can only be skipped with a written reason, shown in the matrix below.
- The matrix is generated. The table on this page is produced from the catalogue and the test sources by the project's requirement checker, so it cannot drift from the code.
Summary
"Mapped to tests" counts server-binding requirements referenced by at least one automated test in the broker or the black-box conformance suite. Coverage is mapped requirements divided by server-binding requirements. Tests run in CI on every change.
| Specification | Requirements | Server-binding | Mapped to tests | Waived | Not yet mapped | Coverage |
|---|---|---|---|---|---|---|
| MQTT 3.1 | 101 | 100 | 98 | 1 | 1 | 98.0% |
| MQTT 3.1.1 | 141 | 133 | 132 | 0 | 1 | 99.2% |
| MQTT 5.0 | 251 | 238 | 229 | 0 | 9 | 96.2% |
Requirements that are not server-binding (for example rules that only constrain clients) are listed for completeness but do not count towards coverage.
Matrix
Filter by specification, level, binding or status, or search by ID, section or summary. Summaries are paraphrases; the specification text is authoritative.
Showing 471 of 493 requirements.
| Requirement | Section | Level | Server | Tests | Status | Summary |
|---|---|---|---|---|---|---|
| 3.1/V31-A-1 | A | MUST NOT | Yes | 1 | Mapped | Wildcards are valid only in subscription filters; topic names used for publishing must not contain them. |
| 3.1/V31-A-2 | A | MUST | Yes | 2 | Mapped | '#' matches any number of levels including zero, so 'finance/#' also matches 'finance'. |
| 3.1/V31-A-3 | A | MUST | Yes | 1 | Mapped | '#' must stand alone or follow '/' and must be the last character of the filter; 'finance#' and 'a/#/b' are invalid. |
| 3.1/V31-A-4 | A | MUST | Yes | 3 | Mapped | '+' matches exactly one level, so 'finance/+' matches 'finance/x' but not 'finance' or 'finance/x/y'. |
| 3.1/V31-A-5 | A | MUST | Yes | 1 | Mapped | '+' must occupy a whole level, standing alone or bounded by '/'; 'finance+' is invalid while '+/x' and 'a/+/b' are valid. |
| 3.1/V31-A-6 | A | MUST | Yes | 2 | Mapped | Topic names and filters must be at least one character long. |
| 3.1/V31-A-7 | A | MUST | Yes | 3 | Mapped | Topic matching is case sensitive, treats spaces as ordinary characters and treats a leading '/' as an empty first level ('/a' matches '/+' and '+/+', not '+'). |
| 3.1/V31-A-8 | A | MUST NOT | Yes | 4 | Mapped | Topic names and filters must not contain the null character U+0000. |
| 3.1/V31-A-9 | A | MAY | Yes | 1 | Mapped | 3.1 defines no special '$' topics; the server may apply the 3.1.1 rule that leading wildcards never match '$' topics to 3.1 clients. |
| 3.1/V31-2.1-1 | 2.1 | MUST NOT | Yes | 2 | Mapped | Message types 0 and 15 are reserved and must not be sent; the server treats a packet with either type as invalid and closes the connection. |
| 3.1/V31-2.1-2 | 2.1 | MUST | Yes | 2 | Mapped | Remaining Length uses 1 to 4 bytes of 7-bit groups with a continuation bit, maximum 268,435,455; the server treats a fifth length byte as invalid. |
| 3.1/V31-2.1-3 | 2.1 | SHOULD | Yes | 4 | Mapped | A sender re-delivering a QoS>0 PUBLISH, PUBREL, SUBSCRIBE or UNSUBSCRIBE sets DUP=1; unlike 3.1.1, DUP is valid on PUBREL, SUBSCRIBE and UNSUBSCRIBE. |
| 3.1/V31-2.1-4 | 2.1 | SHOULD NOT | Yes | 1 | Mapped | A receiver treats DUP only as a hint and should not rely on it to detect duplicates; QoS 2 de-duplication uses the Message ID. |
| 3.1/V31-2.1-5 | 2.1 | MUST NOT | Yes | 2 | Mapped | QoS value 3 is reserved and must not be used; the server closes the connection on a PUBLISH whose QoS bits are both set. |
| 3.1/V31-2.1-6 | 2.1 | SHOULD | Yes | 5 | Mapped | For a client PUBLISH with RETAIN=1, the server keeps the message as the topic's retained message after delivering it to current subscribers. |
| 3.1/V31-2.1-7 | 2.1 | SHOULD | Yes | 3 | Mapped | On a new subscription the server sends the last retained message of each matching topic with RETAIN=1; nothing is sent if none exists. |
| 3.1/V31-2.1-8 | 2.1 | SHOULD NOT | Yes | 3 | Mapped | Messages forwarded to subscriptions that existed when the PUBLISH arrived are sent with RETAIN=0, regardless of the inbound RETAIN flag. |
| 3.1/V31-2.1-9 | 2.1 | SHOULD | Yes | 0 | Not yet mapped | Retained messages survive a server restart. |
| 3.1/V31-2.1-10 | 2.1 | MAY | Yes | 3 | Mapped | A RETAIN=1 PUBLISH with a zero-length payload may delete the topic's retained message; OrbitMQ applies the 3.1.1 behaviour of always deleting it. |
| 3.1/V31-2.2-1 | 2.2 | MUST | Yes | 3 | Mapped | The CONNECT protocol name must be the length-prefixed string 'MQIsdp' (exact case), not 'MQTT'; the server uses it to select 3.1 handling. |
| 3.1/V31-2.2-2 | 2.2 | MUST | Yes | 3 | Mapped | The CONNECT protocol version byte must be 3 (0x03) together with the name 'MQIsdp'; the server treats other versions under this name as unsupported. |
| 3.1/V31-2.2-3 | 2.2 | MUST | Yes | 4 | Mapped | With CleanSession=0 the server keeps the client's subscriptions, queued QoS 1/2 messages and in-flight state after disconnect until the client reconnects. |
| 3.1/V31-2.2-4 | 2.2 | MUST | Yes | 3 | Mapped | With CleanSession=1 the server discards any stored state for the ClientId at connect and discards the session's state when the client disconnects. |
| 3.1/V31-2.2-5 | 2.2 | MUST NOT | Yes | 2 | Mapped | QoS 0 messages are never queued for a disconnected CleanSession=0 client; only QoS 1 and QoS 2 messages are stored. |
| 3.1/V31-2.2-6 | 2.2 | MAY | Yes | 3 | Mapped | The server may offer an administrative mechanism to delete the stored session of a client known never to reconnect. |
| 3.1/V31-2.2-7 | 2.2 | SHOULD | Yes | 1 | Mapped | CONNECT flags bit 0 is reserved and set to zero; unlike 3.1.1 the server is not required to reject a 3.1 CONNECT with it set. |
| 3.1/V31-2.2-8 | 2.2 | MUST | Yes | 4 | Mapped | The server publishes the Will Message when it hits an I/O error or keep-alive expiry for the client, but never because of a received DISCONNECT. |
| 3.1/V31-2.2-9 | 2.2 | MUST | Yes | 3 | Mapped | If Will Flag=1, the Will QoS and Will Retain flags apply and the Will Topic and Will Message must both be present in the payload. |
| 3.1/V31-2.2-10 | 2.2 | SHOULD | Yes | 2 | Mapped | If Will Flag=0 the server disregards Will QoS and Will Retain values instead of rejecting the CONNECT as 3.1.1 requires. |
| 3.1/V31-2.2-11 | 2.2 | MUST NOT | Yes | 2 | Mapped | Will QoS must be 0, 1 or 2; the server refuses a CONNECT with Will Flag=1 and Will QoS 3. |
| 3.1/V31-2.2-12 | 2.2 | SHOULD | Yes | 3 | Mapped | When publishing a Will Message the server retains it if Will Retain=1 and publishes it non-retained if Will Retain=0. |
| 3.1/V31-2.2-13 | 2.2 | MUST NOT | Yes | 2 | Mapped | A password must not be supplied without a user name; the server treats Password Flag=1 with User Name Flag=0 as an invalid CONNECT. |
| 3.1/V31-2.2-14 | 2.2 | MUST | Yes | 2 | Mapped | If Keep Alive is non-zero and nothing arrives within 1.5 times Keep Alive, the server disconnects the client, keeps its subscriptions and publishes its Will. |
| 3.1/V31-2.2-15 | 2.2 | MUST NOT | Yes | 1 | Mapped | A Keep Alive of zero disables the keep-alive mechanism; the server must not disconnect such a client for inactivity. |
| 3.1/V31-2.2-17 | 2.2 | MUST NOT | Yes | 1 | Mapped | CONNACK return codes 6..255 are reserved; the server only sends codes 0 to 5. |
| 3.1/V31-2.2-18 | 2.2 | MUST | Yes | 1 | Mapped | A 3.1 topic name is a UTF-8 string limited to 32,767 characters; the server accepts topics up to that length from 3.1 clients. |
| 3.1/V31-2.4-1 | 2.4 | MUST | Yes | 2 | Mapped | A Message ID is present in PUBLISH only for QoS 1 and 2, and always in PUBACK, PUBREC, PUBREL, PUBCOMP, SUBSCRIBE, SUBACK, UNSUBSCRIBE and UNSUBACK. |
| 3.1/V31-2.4-2 | 2.4 | MUST | Yes | 3 | Mapped | The server keeps its own Message ID space per client, unique among its in-flight messages in the server-to-client direction, independent of client-chosen IDs. |
| 3.1/V31-2.4-3 | 2.4 | MUST NOT | Yes | 3 | Mapped | Message ID 0 is reserved as invalid and must not be used in any packet that carries a Message ID. |
| 3.1/V31-2.5-1 | 2.5 | MUST | Yes | 1 | Mapped | Strings are encoded as a 2-byte big-endian byte length followed by that many bytes of UTF-8 data. |
| 3.1/V31-2.5-2 | 2.5 | MUST | Yes | 1 | Mapped | Strings carry full UTF-8 rather than only US-ASCII; the server accepts any valid UTF-8 in 3.1 strings. |
| 3.1/V31-2.6-1 | 2.6 | SHOULD | Yes | 1 | Mapped | Bits marked unused are sent as zero; 3.1 does not require the receiver to reject packets where such bits are set. |
| 3.1/V31-3.1-1 | 3.1 | MUST | Yes | 1 | Mapped | The first message a client sends on a new TCP connection must be CONNECT, which creates the protocol-level session. |
| 3.1/V31-3.1-2 | 3.1 | MUST | Yes | 1 | Mapped | CONNECT payload strings that are present must appear in the order Client Identifier, Will Topic, Will Message, User Name, Password. |
| 3.1/V31-3.1-3 | 3.1 | MUST | Yes | 2 | Mapped | The Client Identifier is the first payload string, 1 to 23 characters long, and unique among clients of the server. |
| 3.1/V31-3.1-4 | 3.1 | MUST | Yes | 2 | Mapped | If the Client Identifier is longer than 23 characters the server replies with CONNACK return code 2 (identifier rejected). |
| 3.1/V31-3.1-5 | 3.1 | MUST | Yes | 1 | Mapped | The Will Message may be zero-length; when published, the payload is only its bytes, without the 2-byte length prefix. |
| 3.1/V31-3.1-6 | 3.1 | MUST | Yes | 2 | Mapped | The server accepts a CONNECT whose User Name Flag is set but whose user name string is absent because Remaining Length ends the packet. |
| 3.1/V31-3.1-7 | 3.1 | MUST | Yes | 2 | Mapped | The server accepts a CONNECT whose Password Flag is set but whose password string is absent because Remaining Length ends the packet. |
| 3.1/V31-3.1-8 | 3.1 | SHOULD | Yes | 1 | Mapped | The server closes a TCP connection that has not delivered a CONNECT within a configurable, reasonable time after it was established. |
| 3.1/V31-3.1-9 | 3.1 | MUST | Yes | 1 | Mapped | If a client with the same Client ID is already connected, the server disconnects the older client before completing the new CONNECT. |
| 3.1/V31-3.1-10 | 3.1 | SHOULD | Yes | 2 | Mapped | The server closes the connection on an invalid CONNECT, including one with an invalid protocol name or protocol version. |
| 3.1/V31-3.1-11 | 3.1 | MAY | Yes | 1 | Mapped | If enough of the CONNECT parses to show an unsupported protocol, the server may send CONNACK return code 1 before closing the connection. |
| 3.1/V31-3.2-1 | 3.2 | MUST | Yes | 4 | Mapped | The server answers CONNECT with a CONNACK of remaining length 2 whose first variable-header byte is reserved; 3.1 has no Session Present flag. |
| 3.1/V31-3.2-2 | 3.2 | MUST | Yes | 2 | Mapped | The server sends CONNACK return code 2 when the Client Identifier is not 1 to 23 characters, so zero-length ClientIds are rejected. |
| 3.1/V31-3.2-3 | 3.2 | MUST | Yes | 2 | Mapped | The server refuses failed authentication with CONNACK return code 4 (bad user name or password) and denied authorization with code 5 (not authorized). |
| 3.1/V31-3.2-4 | 3.2 | SHOULD | Yes | 2 | Mapped | After sending a CONNACK with a non-zero return code the server closes the network connection. |
| 3.1/V31-3.2-5 | 3.2 | MUST | Yes | 2 | Mapped | The server signals an accepted connection with CONNACK return code 0 and a refusal with the matching code 1 to 5 from the 3.1 return code table. |
| 3.1/V31-3.3-1 | 3.3 | MUST NOT | Yes | 2 | Mapped | A PUBLISH topic name must not contain wildcard characters; the server treats such a PUBLISH as invalid. |
| 3.1/V31-3.3-2 | 3.3 | MUST | Yes | 3 | Mapped | A PUBLISH delivered to a subscriber carries the publisher's exact topic name, not the subscriber's wildcard filter. |
| 3.1/V31-3.3-3 | 3.3 | MUST | Yes | 1 | Mapped | A PUBLISH with a zero-length payload is valid and the server delivers it normally. |
| 3.1/V31-3.3-4 | 3.3 | MUST | Yes | 4 | Mapped | A PUBLISH receiver responds by QoS: nothing for QoS 0, PUBACK for QoS 1, PUBREC for QoS 2. |
| 3.1/V31-3.3-5 | 3.3 | MUST | Yes | 5 | Mapped | On a QoS 1 PUBLISH the server stores the message durably, makes it available to matching subscribers and replies PUBACK. |
| 3.1/V31-3.3-6 | 3.3 | MUST | Yes | 1 | Mapped | On a QoS 2 PUBLISH the server stores the message durably and replies PUBREC; onward delivery follows one of the two section 4.1 semantics. |
| 3.1/V31-3.3-7 | 3.3 | MUST | Yes | 1 | Mapped | If the server does not authorize a client's PUBLISH it still acknowledges it normally per QoS, without informing the client; closing the connection is not offered. |
| 3.1/V31-3.4-1 | 3.4 | MUST | Yes | 4 | Mapped | PUBACK has remaining length 2 and carries the Message ID of the QoS 1 PUBLISH it acknowledges. |
| 3.1/V31-3.5-1 | 3.5 | MUST | Yes | 6 | Mapped | On receiving PUBREC the PUBLISH sender replies with PUBREL carrying the same Message ID. |
| 3.1/V31-3.6-1 | 3.6 | MUST | Yes | 2 | Mapped | PUBREL is sent with QoS 1 in its fixed header (byte 0x62, or 0x6A when DUP=1 on retry) and is retried like a PUBLISH. |
| 3.1/V31-3.6-2 | 3.6 | MUST | Yes | 8 | Mapped | On PUBREL from a publisher the server makes the message available to subscribers if not already done and replies PUBCOMP with the same Message ID. |
| 3.1/V31-3.7-1 | 3.7 | MUST | Yes | 8 | Mapped | PUBCOMP has remaining length 2 and carries the Message ID of the PUBREL it acknowledges. |
| 3.1/V31-3.8-1 | 3.8 | MUST | Yes | 2 | Mapped | SUBSCRIBE is sent with QoS 1 in its fixed header (byte 0x82, or 0x8A when DUP=1 on retry) and carries a Message ID. |
| 3.1/V31-3.8-2 | 3.8 | MUST | Yes | 1 | Mapped | The SUBSCRIBE payload is a contiguous list of UTF-8 topic filter and requested QoS byte pairs; filters may contain wildcards. |
| 3.1/V31-3.8-3 | 3.8 | MUST | Yes | 6 | Mapped | Messages are delivered to a subscriber at the lower of the publish QoS and the granted subscription QoS; QoS is never upgraded. |
| 3.1/V31-3.8-4 | 3.8 | SHOULD | Yes | 2 | Mapped | A requested QoS byte with both QoS bits set is invalid and the server closes the connection. |
| 3.1/V31-3.8-5 | 3.8 | MUST | Yes | 2 | Mapped | The server answers every SUBSCRIBE with a SUBACK. |
| 3.1/V31-3.8-6 | 3.8 | MAY | Yes | 0 | Waived OrbitMQ never delivers before SUBACK (ADR-0011 SUBACK barrier); this MAY is deliberately not exercised. | The server may start delivering PUBLISH messages for a new subscription before the client has received the SUBACK. |
| 3.1/V31-3.8-7 | 3.8 | MUST | Yes | 1 | Mapped | If a SUBSCRIBE is not authorized the server still sends a normal-looking SUBACK; the client is not informed because 3.1 has no failure return code. |
| 3.1/V31-3.8-8 | 3.8 | MAY | Yes | 1 | Mapped | The server may grant a lower QoS than requested, for example QoS 0 only when it lacks reliable persistence. |
| 3.1/V31-3.9-1 | 3.9 | MUST | Yes | 2 | Mapped | SUBACK carries the Message ID of the SUBSCRIBE it acknowledges. |
| 3.1/V31-3.9-2 | 3.9 | MUST | Yes | 2 | Mapped | SUBACK carries exactly one granted QoS byte per requested topic, in the same order as the SUBSCRIBE payload. |
| 3.1/V31-3.9-3 | 3.9 | MUST NOT | Yes | 6 | Mapped | Granted QoS bytes sent to a 3.1 client must be 0, 1 or 2; the 3.1.1 failure code 0x80 must not be sent. |
| 3.1/V31-3.10-1 | 3.10 | MUST | Yes | 2 | Mapped | UNSUBSCRIBE is sent with QoS 1 in its fixed header (byte 0xA2, or 0xAA when DUP=1 on retry) and carries a Message ID. |
| 3.1/V31-3.10-2 | 3.10 | MUST | Yes | 1 | Mapped | The UNSUBSCRIBE payload is a contiguous list of UTF-8 topic strings naming the subscriptions to remove. |
| 3.1/V31-3.10-3 | 3.10 | MUST | Yes | 3 | Mapped | The server answers every UNSUBSCRIBE with an UNSUBACK, including when no listed subscription existed. |
| 3.1/V31-3.10-4 | 3.10 | MUST | Yes | 6 | Mapped | On UNSUBSCRIBE the server removes each of the client's subscriptions whose topic string equals a listed topic (wildcards compared literally, an OrbitMQ derivation), stops queuing new messages for it, and ignores unknown topics. |
| 3.1/V31-3.11-1 | 3.11 | MUST | Yes | 4 | Mapped | UNSUBACK has remaining length 2 and carries the Message ID of the UNSUBSCRIBE it acknowledges. |
| 3.1/V31-3.12-1 | 3.12 | MUST | Yes | 2 | Mapped | The server answers every PINGREQ from a connected client with a PINGRESP. |
| 3.1/V31-3.14-1 | 3.14 | MUST | Yes | 1 | Mapped | On DISCONNECT from a CleanSession=1 client the server discards all state it held for that client. |
| 3.1/V31-3.14-2 | 3.14 | SHOULD NOT | Yes | 1 | Mapped | The server should not rely on the client closing TCP after DISCONNECT and closes the connection itself. |
| 3.1/V31-3.14-3 | 3.14 | MUST | Yes | 1 | Mapped | On DISCONNECT the server discards the client's Will Message without publishing it. |
| 3.1/V31-4.1-1 | 4.1 | MUST | Yes | 2 | Mapped | QoS 0 messages are sent once with no acknowledgement and no retry. |
| 3.1/V31-4.1-2 | 4.1 | MUST | Yes | 1 | Mapped | On a duplicate QoS 1 PUBLISH from a client the server publishes it to subscribers again and sends another PUBACK. |
| 3.1/V31-4.1-3 | 4.1 | MUST | Yes | 6 | Mapped | A QoS 2 flow is retried from the last unacknowledged message, PUBLISH or PUBREL, and the message reaches subscribers exactly once. |
| 3.1/V31-4.1-4 | 4.1 | MAY | Yes | 1 | Mapped | For QoS 2 the server may forward on PUBLISH (keeping the Message ID until PUBREL) or on PUBREL; both must prevent duplicate onward delivery. |
| 3.1/V31-4.2-1 | 4.2 | MAY | Yes | 1 | Mapped | If no response arrives in time, a sender may retry a QoS>0 PUBLISH, PUBREL, SUBSCRIBE or UNSUBSCRIBE, setting DUP=1 on the retry. |
| 3.1/V31-4.2-2 | 4.2 | SHOULD | Yes | 2 | Mapped | The retry timeout is configurable, accounts for message size and link speed, and grows across successive retries. |
| 3.1/V31-4.2-3 | 4.2 | SHOULD | Yes | 5 | Mapped | On reconnect without CleanSession, client and server redeliver all in-flight messages from the previous connection. |
| 3.1/V31-4.2-4 | 4.2 | SHOULD | Yes | 1 | Mapped | The server retries any unacknowledged message it sent, not only on reconnect. |
| 3.1/V31-4.3-1 | 4.3 | MUST | Yes | 3 | Mapped | To guarantee ordering, each stage of delivery flows completes in the order started, e.g. PUBRELs are sent in the order of the original PUBLISHes. |
| 3.1/V31-4.3-2 | 4.3 | SHOULD | Yes | 2 | Mapped | The server preserves per-client publish order to each subscriber; with an in-flight window above 1, order is guaranteed only within a QoS level. |
| 3.1.1/MQTT-1.5.3-1 | 1.5.3 | MUST | Yes | 4 | Mapped | String data must be well-formed UTF-8 (RFC 3629) with no surrogate code points U+D800..U+DFFF; a receiver of ill-formed UTF-8 must close the network connection. |
| 3.1.1/MQTT-1.5.3-2 | 1.5.3 | MUST NOT | Yes | 2 | Mapped | Strings must not encode the null character U+0000; a receiver getting a packet whose string contains U+0000 must close the network connection. |
| 3.1.1/MQTT-1.5.3-3 | 1.5.3 | MUST NOT | Yes | 1 | Mapped | A receiver must not skip or strip the bytes EF BB BF inside a string; they always denote code point U+FEFF and are preserved. |
| 3.1.1/MQTT-2.2.2-1 | 2.2.2 | MUST | Yes | 3 | Mapped | Fixed-header flag bits marked reserved in Table 2.2 must carry exactly the values that table lists for the packet type. |
| 3.1.1/MQTT-2.2.2-2 | 2.2.2 | MUST | Yes | 5 | Mapped | A receiver that gets a packet with invalid fixed-header flag bits must close the network connection. |
| 3.1.1/MQTT-2.3.1-1 | 2.3.1 | MUST | Yes | 4 | Mapped | SUBSCRIBE, UNSUBSCRIBE and PUBLISH with QoS 1 or 2 must carry a non-zero 16-bit Packet Identifier. |
| 3.1.1/MQTT-2.3.1-4 | 2.3.1 | MUST | Yes | 1 | Mapped | For QoS>0 PUBLISH it sends, the server must use an unused Packet Identifier, keep it on re-sends, and free it only after PUBACK (QoS 1) or PUBCOMP (QoS 2). |
| 3.1.1/MQTT-2.3.1-5 | 2.3.1 | MUST NOT | Yes | 3 | Mapped | A QoS 0 PUBLISH must not contain a Packet Identifier field. |
| 3.1.1/MQTT-2.3.1-6 | 2.3.1 | MUST | Yes | 1 | Mapped | PUBACK, PUBREC and PUBREL must carry the same Packet Identifier as the PUBLISH that started the exchange. |
| 3.1.1/MQTT-2.3.1-7 | 2.3.1 | MUST | Yes | 1 | Mapped | SUBACK and UNSUBACK must carry the Packet Identifier of the SUBSCRIBE or UNSUBSCRIBE they acknowledge. |
| 3.1.1/MQTT-3.1.0-1 | 3.1.0 | MUST | Yes | 2 | Mapped | The first packet a client sends on a new network connection must be CONNECT; the server treats any other first packet as a protocol violation. |
| 3.1.1/MQTT-3.1.0-2 | 3.1.0 | MUST | Yes | 2 | Mapped | The server must treat a second CONNECT on the same network connection as a protocol violation and disconnect the client. |
| 3.1.1/MQTT-3.1.2-1 | 3.1.2 | MUST NOT | Yes | 3 | Mapped | If the protocol name is not 'MQTT', the server may disconnect or process it under another specification, but must not continue processing it as MQTT 3.1.1. |
| 3.1.1/MQTT-3.1.2-2 | 3.1.2 | MUST | Yes | 3 | Mapped | If the Protocol Level is unsupported, the server must reply with CONNACK return code 0x01 (unacceptable protocol version) and then disconnect. |
| 3.1.1/MQTT-3.1.2-3 | 3.1.2 | MUST | Yes | 3 | Mapped | The server must check that reserved bit 0 of the CONNECT flags is zero and disconnect the client if it is set. |
| 3.1.1/MQTT-3.1.2-4 | 3.1.2 | MUST | Yes | 2 | Mapped | With CleanSession=0 the server must resume the session for that ClientId or create one if none exists, and both sides must keep the session after disconnection. |
| 3.1.1/MQTT-3.1.2-5 | 3.1.2 | MUST | Yes | 3 | Mapped | After a CleanSession=0 client disconnects, the server must store new QoS 1 and QoS 2 messages matching its subscriptions as part of the session state. |
| 3.1.1/MQTT-3.1.2-6 | 3.1.2 | MUST | Yes | 4 | Mapped | With CleanSession=1 both sides must discard any previous session and start a new one that lasts only for the connection; its state must never be reused later. |
| 3.1.1/MQTT-3.1.2-7 | 3.1.2 | MUST NOT | Yes | 2 | Mapped | Retained messages are not part of session state and must not be deleted when a session ends. |
| 3.1.1/MQTT-3.1.2-8 | 3.1.2 | MUST | Yes | 3 | Mapped | If Will Flag=1 and the connection is accepted, the server must store the Will Message and publish it when the connection closes, unless a DISCONNECT removed it. |
| 3.1.1/MQTT-3.1.2-9 | 3.1.2 | MUST | Yes | 4 | Mapped | With Will Flag=1 the CONNECT payload has to include both a Will Topic and a Will Message, and the server honours the Will QoS and Will Retain flags. |
| 3.1.1/MQTT-3.1.2-10 | 3.1.2 | MUST | Yes | 3 | Mapped | The server must remove the Will Message from stored session state once it has been published or a DISCONNECT has been received from the client. |
| 3.1.1/MQTT-3.1.2-11 | 3.1.2 | MUST | Yes | 3 | Mapped | If Will Flag=0 then Will QoS and Will Retain must be zero and the Will Topic and Will Message fields must be absent from the payload. |
| 3.1.1/MQTT-3.1.2-12 | 3.1.2 | MUST NOT | Yes | 1 | Mapped | If Will Flag=0 the server must not publish any Will Message when the network connection ends. |
| 3.1.1/MQTT-3.1.2-13 | 3.1.2 | MUST | Yes | 2 | Mapped | If Will Flag=0 the Will QoS bits in the CONNECT flags must be 0. |
| 3.1.1/MQTT-3.1.2-14 | 3.1.2 | MUST NOT | Yes | 2 | Mapped | If Will Flag=1 the Will QoS must be 0, 1 or 2; the value 3 must not be used. |
| 3.1.1/MQTT-3.1.2-15 | 3.1.2 | MUST | Yes | 2 | Mapped | If Will Flag=0 the Will Retain flag must be 0. |
| 3.1.1/MQTT-3.1.2-16 | 3.1.2 | MUST | Yes | 3 | Mapped | With Will Flag=1 and Will Retain=0 the server must send the Will Message with RETAIN=0, i.e. not as a retained message. |
| 3.1.1/MQTT-3.1.2-17 | 3.1.2 | MUST | Yes | 1 | Mapped | With Will Flag=1 and Will Retain=1 the server must send the Will Message with RETAIN=1 so that it is retained. |
| 3.1.1/MQTT-3.1.2-18 | 3.1.2 | MUST NOT | Yes | 2 | Mapped | If User Name Flag=0 no user name field may be present in the CONNECT payload. |
| 3.1.1/MQTT-3.1.2-19 | 3.1.2 | MUST | Yes | 3 | Mapped | If User Name Flag=1 a user name field must be present in the CONNECT payload. |
| 3.1.1/MQTT-3.1.2-20 | 3.1.2 | MUST NOT | Yes | 1 | Mapped | If Password Flag=0 no password field may be present in the CONNECT payload. |
| 3.1.1/MQTT-3.1.2-21 | 3.1.2 | MUST | Yes | 3 | Mapped | If Password Flag=1 a password field must be present in the CONNECT payload. |
| 3.1.1/MQTT-3.1.2-22 | 3.1.2 | MUST | Yes | 3 | Mapped | If User Name Flag=0 the Password Flag must also be 0. |
| 3.1.1/MQTT-3.1.2-24 | 3.1.2 | MUST | Yes | 2 | Mapped | If Keep Alive is non-zero and nothing arrives from the client within 1.5 times Keep Alive, the server must disconnect it as if the network had failed. |
| 3.1.1/MQTT-3.1.3-1 | 3.1.3 | MUST | Yes | 1 | Mapped | Whichever CONNECT payload fields are present are ordered Client Identifier, Will Topic, Will Message, User Name, then Password. |
| 3.1.1/MQTT-3.1.3-2 | 3.1.3 | MUST | Yes | 1 | Mapped | Client and server must use the ClientId to identify the session state they hold for that client. |
| 3.1.1/MQTT-3.1.3-3 | 3.1.3 | MUST | Yes | 1 | Mapped | The Client Identifier must always be present and must be the first field of the CONNECT payload. |
| 3.1.1/MQTT-3.1.3-4 | 3.1.3 | MUST | Yes | 2 | Mapped | The ClientId must be a UTF-8 encoded string conforming to section 1.5.3. |
| 3.1.1/MQTT-3.1.3-5 | 3.1.3 | MUST | Yes | 1 | Mapped | The server must accept ClientIds that are 1 to 23 UTF-8 bytes long and contain only the characters 0-9, a-z and A-Z. |
| 3.1.1/MQTT-3.1.3-6 | 3.1.3 | MUST | Yes | 2 | Mapped | The server may accept a zero-length ClientId; if it does, it must assign a unique ClientId and process the CONNECT as if the client had supplied it. |
| 3.1.1/MQTT-3.1.3-7 | 3.1.3 | MUST | Yes | 1 | Mapped | A client that supplies a zero-byte ClientId must set CleanSession to 1. |
| 3.1.1/MQTT-3.1.3-8 | 3.1.3 | MUST | Yes | 2 | Mapped | If the ClientId is zero bytes and CleanSession=0, the server must reply with CONNACK return code 0x02 (identifier rejected) and then close the connection. |
| 3.1.1/MQTT-3.1.3-9 | 3.1.3 | MUST | Yes | 1 | Mapped | Whenever the server rejects a ClientId it must reply with CONNACK return code 0x02 (identifier rejected) and then close the connection. |
| 3.1.1/MQTT-3.1.3-10 | 3.1.3 | MUST | Yes | 1 | Mapped | The Will Topic must be a UTF-8 encoded string conforming to section 1.5.3. |
| 3.1.1/MQTT-3.1.3-11 | 3.1.3 | MUST | Yes | 1 | Mapped | The User Name must be a UTF-8 encoded string conforming to section 1.5.3. |
| 3.1.1/MQTT-3.1.4-1 | 3.1.4 | MUST | Yes | 2 | Mapped | The server must validate that CONNECT conforms to section 3.1 and, if it does not, close the network connection without sending CONNACK. |
| 3.1.1/MQTT-3.1.4-2 | 3.1.4 | MUST | Yes | 1 | Mapped | If the ClientId belongs to a client that is already connected, the server must disconnect that existing client. |
| 3.1.1/MQTT-3.1.4-3 | 3.1.4 | MUST | Yes | 1 | Mapped | After CONNECT validation succeeds the server must apply the CleanSession processing defined in section 3.1.2.4. |
| 3.1.1/MQTT-3.1.4-4 | 3.1.4 | MUST | Yes | 1 | Mapped | After CONNECT validation succeeds the server must acknowledge with a CONNACK carrying return code 0. |
| 3.1.1/MQTT-3.1.4-5 | 3.1.4 | MUST NOT | Yes | 1 | Mapped | If the server rejects a CONNECT it must not process any data the client sent after that CONNECT packet. |
| 3.1.1/MQTT-3.2.0-1 | 3.2.0 | MUST | Yes | 1 | Mapped | The first packet the server sends to a client must be CONNACK. |
| 3.1.1/MQTT-3.2.2-1 | 3.2.2 | MUST | Yes | 3 | Mapped | When accepting a CleanSession=1 connection the server must send CONNACK with Session Present=0 and return code 0. |
| 3.1.1/MQTT-3.2.2-2 | 3.2.2 | MUST | Yes | 3 | Mapped | When accepting a CleanSession=0 connection for which it holds stored session state, the server must set Session Present=1 in CONNACK. |
| 3.1.1/MQTT-3.2.2-3 | 3.2.2 | MUST | Yes | 2 | Mapped | When accepting a CleanSession=0 connection with no stored session state, the server must set Session Present=0 along with return code 0. |
| 3.1.1/MQTT-3.2.2-4 | 3.2.2 | MUST | Yes | 4 | Mapped | A CONNACK with a non-zero return code must have Session Present set to 0. |
| 3.1.1/MQTT-3.2.2-5 | 3.2.2 | MUST | Yes | 2 | Mapped | After sending a CONNACK with a non-zero return code the server must close the network connection. |
| 3.1.1/MQTT-3.2.2-6 | 3.2.2 | MUST | Yes | 1 | Mapped | If no return code in Table 3.1 fits the failure, the server must close the network connection without sending any CONNACK. |
| 3.1.1/MQTT-3.3.1-1 | 3.3.1 | MUST | Yes | 4 | Mapped | The DUP flag must be set to 1 whenever a client or server re-delivers a PUBLISH packet. |
| 3.1.1/MQTT-3.3.1-2 | 3.3.1 | MUST | Yes | 3 | Mapped | The DUP flag must be 0 on every QoS 0 PUBLISH. |
| 3.1.1/MQTT-3.3.1-3 | 3.3.1 | MUST | Yes | 2 | Mapped | DUP on a PUBLISH the server forwards must reflect only whether that outgoing packet is a retransmission, never the DUP of the inbound PUBLISH. |
| 3.1.1/MQTT-3.3.1-4 | 3.3.1 | MUST NOT | Yes | 3 | Mapped | A PUBLISH must not have both QoS bits set; a server or client receiving such a packet must close the network connection. |
| 3.1.1/MQTT-3.3.1-5 | 3.3.1 | MUST | Yes | 5 | Mapped | For a client PUBLISH with RETAIN=1 the server must store the message and its QoS so it can be delivered to future matching subscribers. |
| 3.1.1/MQTT-3.3.1-6 | 3.3.1 | MUST | Yes | 3 | Mapped | When a new subscription is established, the last retained message on each matching topic must be sent to the subscriber. |
| 3.1.1/MQTT-3.3.1-7 | 3.3.1 | MUST | Yes | 2 | Mapped | On a QoS 0 PUBLISH with RETAIN=1 the server must discard any previously retained message for that topic; it should keep the new one but may drop it later. |
| 3.1.1/MQTT-3.3.1-8 | 3.3.1 | MUST | Yes | 3 | Mapped | A PUBLISH the server sends because a new subscription matched a retained message must have RETAIN=1. |
| 3.1.1/MQTT-3.3.1-9 | 3.3.1 | MUST | Yes | 3 | Mapped | A PUBLISH forwarded because it matches an established subscription must have RETAIN=0, whatever the RETAIN flag on the received message. |
| 3.1.1/MQTT-3.3.1-10 | 3.3.1 | MUST | Yes | 3 | Mapped | A RETAIN=1 PUBLISH with a zero-byte payload is delivered normally and must remove the topic's retained message so later subscribers receive none. |
| 3.1.1/MQTT-3.3.1-11 | 3.3.1 | MUST NOT | Yes | 3 | Mapped | The server must not store a message with a zero-byte payload as a retained message. |
| 3.1.1/MQTT-3.3.1-12 | 3.3.1 | MUST NOT | Yes | 2 | Mapped | For a client PUBLISH with RETAIN=0 the server must not store it as retained and must not remove or replace the existing retained message. |
| 3.1.1/MQTT-3.3.2-1 | 3.3.2 | MUST | Yes | 2 | Mapped | The Topic Name must be present as the first field of the PUBLISH variable header and must be a UTF-8 encoded string. |
| 3.1.1/MQTT-3.3.2-2 | 3.3.2 | MUST NOT | Yes | 3 | Mapped | The Topic Name in a PUBLISH must not contain the wildcard characters '+' or '#'. |
| 3.1.1/MQTT-3.3.2-3 | 3.3.2 | MUST | Yes | 3 | Mapped | The Topic Name in a PUBLISH the server sends to a subscriber must match that subscription's Topic Filter under the section 4.7 rules. |
| 3.1.1/MQTT-3.3.4-1 | 3.3.4 | MUST | Yes | 4 | Mapped | The receiver of a PUBLISH must respond per its QoS: nothing for QoS 0, PUBACK for QoS 1, PUBREC for QoS 2. |
| 3.1.1/MQTT-3.3.5-1 | 3.3.5 | MUST | Yes | 2 | Mapped | When several of a client's subscriptions match a message, the server must deliver it respecting the highest maximum QoS among those matching subscriptions. |
| 3.1.1/MQTT-3.3.5-2 | 3.3.5 | MUST | Yes | 1 | Mapped | If the server does not authorize a client's PUBLISH, it must either acknowledge it normally according to its QoS or close the network connection. |
| 3.1.1/MQTT-3.6.1-1 | 3.6.1 | MUST | Yes | 2 | Mapped | PUBREL fixed-header bits 3..0 must be 0010; on any other value the server must close the network connection, treating the packet as malformed. |
| 3.1.1/MQTT-3.8.1-1 | 3.8.1 | MUST | Yes | 2 | Mapped | SUBSCRIBE fixed-header bits 3..0 must be 0010; on any other value the server must close the network connection, treating the packet as malformed. |
| 3.1.1/MQTT-3.8.3-1 | 3.8.3 | MUST | Yes | 1 | Mapped | Topic Filters in a SUBSCRIBE payload must be UTF-8 encoded strings conforming to section 1.5.3. |
| 3.1.1/MQTT-3.8.3-2 | 3.8.3 | MUST | Yes | 1 | Mapped | A server that does not support wildcard Topic Filters must reject every subscription request whose filter contains a wildcard. |
| 3.1.1/MQTT-3.8.3-3 | 3.8.3 | MUST | Yes | 2 | Mapped | A SUBSCRIBE payload must contain at least one Topic Filter/QoS pair; a SUBSCRIBE without payload is a protocol violation. |
| 3.1.1/MQTT-3.8.3-4 | 3.8.3 | MUST | Yes | 2 | Mapped | The server must treat a SUBSCRIBE as malformed and close the connection if any reserved bit of a requested-QoS byte is set or QoS is not 0, 1 or 2. |
| 3.1.1/MQTT-3.8.4-1 | 3.8.4 | MUST | Yes | 2 | Mapped | The server must respond to every SUBSCRIBE packet with a SUBACK packet. |
| 3.1.1/MQTT-3.8.4-2 | 3.8.4 | MUST | Yes | 2 | Mapped | The SUBACK must carry the same Packet Identifier as the SUBSCRIBE it acknowledges. |
| 3.1.1/MQTT-3.8.4-3 | 3.8.4 | MUST | Yes | 5 | Mapped | A SUBSCRIBE whose filter equals an existing one must replace that subscription (QoS may change), re-send matching retained messages, and not interrupt publication flow. |
| 3.1.1/MQTT-3.8.4-4 | 3.8.4 | MUST | Yes | 4 | Mapped | A SUBSCRIBE with multiple Topic Filters must be handled like a sequence of single SUBSCRIBEs whose responses are combined into one SUBACK. |
| 3.1.1/MQTT-3.8.4-5 | 3.8.4 | MUST | Yes | 3 | Mapped | SUBACK must hold one return code per Topic Filter/QoS pair, each giving the granted maximum QoS or indicating failure. |
| 3.1.1/MQTT-3.8.4-6 | 3.8.4 | MUST | Yes | 6 | Mapped | Messages delivered for a subscription must use the lower of the original publish QoS and the granted maximum QoS. |
| 3.1.1/MQTT-3.9.3-1 | 3.9.3 | MUST | Yes | 2 | Mapped | Return codes in SUBACK must appear in the same order as the Topic Filters in the SUBSCRIBE. |
| 3.1.1/MQTT-3.9.3-2 | 3.9.3 | MUST NOT | Yes | 4 | Mapped | Only 0x00, 0x01, 0x02 and 0x80 may be used as SUBACK return codes; every other value is reserved and must not be sent. |
| 3.1.1/MQTT-3.10.1-1 | 3.10.1 | MUST | Yes | 2 | Mapped | UNSUBSCRIBE fixed-header bits 3..0 must be 0010; on any other value the server must close the network connection, treating the packet as malformed. |
| 3.1.1/MQTT-3.10.3-1 | 3.10.3 | MUST | Yes | 1 | Mapped | Topic Filters in an UNSUBSCRIBE payload must be UTF-8 encoded strings per section 1.5.3, packed contiguously. |
| 3.1.1/MQTT-3.10.3-2 | 3.10.3 | MUST | Yes | 2 | Mapped | An UNSUBSCRIBE payload must contain at least one Topic Filter; an UNSUBSCRIBE without payload is a protocol violation. |
| 3.1.1/MQTT-3.10.4-1 | 3.10.4 | MUST | Yes | 3 | Mapped | Each UNSUBSCRIBE filter, wildcards included, must be compared character-by-character with the client's filters; only an exact match deletes a subscription. |
| 3.1.1/MQTT-3.10.4-2 | 3.10.4 | MUST | Yes | 3 | Mapped | Once a subscription is deleted the server must stop adding new messages for delivery to the client through it. |
| 3.1.1/MQTT-3.10.4-3 | 3.10.4 | MUST | Yes | 1 | Mapped | After deleting a subscription the server must still complete delivery of QoS 1 and QoS 2 messages it has already started sending to the client. |
| 3.1.1/MQTT-3.10.4-4 | 3.10.4 | MUST | Yes | 3 | Mapped | The server must answer every UNSUBSCRIBE with an UNSUBACK carrying the same Packet Identifier. |
| 3.1.1/MQTT-3.10.4-5 | 3.10.4 | MUST | Yes | 2 | Mapped | The server must send UNSUBACK even when no subscription was deleted. |
| 3.1.1/MQTT-3.10.4-6 | 3.10.4 | MUST | Yes | 3 | Mapped | An UNSUBSCRIBE with multiple Topic Filters must be processed like a sequence of single UNSUBSCRIBEs but answered with exactly one UNSUBACK. |
| 3.1.1/MQTT-3.12.4-1 | 3.12.4 | MUST | Yes | 2 | Mapped | The server must reply to every PINGREQ with a PINGRESP. |
| 3.1.1/MQTT-3.14.1-1 | 3.14.1 | MUST | Yes | 2 | Mapped | The server must check that the DISCONNECT fixed-header reserved bits are zero and disconnect the client if they are not. |
| 3.1.1/MQTT-3.14.4-3 | 3.14.4 | MUST | Yes | 1 | Mapped | On receiving DISCONNECT the server must discard the connection's Will Message without publishing it. |
| 3.1.1/MQTT-4.1.0-1 | 4.1.0 | MUST | Yes | 2 | Mapped | Client and server must keep session state for the entire duration of the session. |
| 3.1.1/MQTT-4.1.0-2 | 4.1.0 | MUST | Yes | 1 | Mapped | A session must last at least as long as it has an active network connection. |
| 3.1.1/MQTT-4.3.1-1 | 4.3.1 | MUST | Yes | 3 | Mapped | A QoS 0 sender must send the PUBLISH with QoS=0 and DUP=0. |
| 3.1.1/MQTT-4.3.2-1 | 4.3.2 | MUST | Yes | 3 | Mapped | A QoS 1 sender must assign an unused Packet Identifier, send PUBLISH with QoS=1 and DUP=0, and treat it as unacknowledged until the matching PUBACK. |
| 3.1.1/MQTT-4.3.2-2 | 4.3.2 | MUST | Yes | 3 | Mapped | A QoS 1 receiver must, after taking ownership, reply PUBACK with the incoming Packet Identifier, then treat later PUBLISH with that identifier as new regardless of DUP. |
| 3.1.1/MQTT-4.3.3-1 | 4.3.3 | MUST | Yes | 6 | Mapped | A QoS 2 sender must use an unused identifier, send PUBLISH QoS=2 DUP=0, send PUBREL on PUBREC, await PUBCOMP, and never re-send the PUBLISH after PUBREL. |
| 3.1.1/MQTT-4.3.3-2 | 4.3.3 | MUST | Yes | 7 | Mapped | A QoS 2 receiver must PUBREC with the identifier, re-PUBREC repeats without onward duplicates until PUBREL, answer PUBREL with PUBCOMP, then treat the identifier as new. |
| 3.1.1/MQTT-4.4.0-1 | 4.4.0 | MUST | Yes | 6 | Mapped | On reconnect with CleanSession=0 both client and server must re-send every unacknowledged QoS>0 PUBLISH and PUBREL using the original Packet Identifiers. |
| 3.1.1/MQTT-4.5.0-1 | 4.5.0 | MUST | Yes | 3 | Mapped | When the server takes ownership of an incoming message it must add it to the session state of every client with a matching subscription. |
| 3.1.1/MQTT-4.6.0-1 | 4.6.0 | MUST | Yes | 2 | Mapped | Re-sent QoS 1 and QoS 2 PUBLISH packets must go out in the original send order; the server is bound to this rule by MQTT-4.6.0-6. |
| 3.1.1/MQTT-4.6.0-2 | 4.6.0 | MUST | Yes | 2 | Mapped | PUBACKs must be sent in the order the corresponding QoS 1 PUBLISH packets were received; the server is bound to this rule by MQTT-4.6.0-6. |
| 3.1.1/MQTT-4.6.0-3 | 4.6.0 | MUST | Yes | 2 | Mapped | PUBRECs must be sent in the order the corresponding QoS 2 PUBLISH packets were received; the server is bound to this rule by MQTT-4.6.0-6. |
| 3.1.1/MQTT-4.6.0-4 | 4.6.0 | MUST | Yes | 1 | Mapped | PUBRELs must be sent in the order the corresponding PUBREC packets were received; the server is bound to this rule by MQTT-4.6.0-6. |
| 3.1.1/MQTT-4.6.0-5 | 4.6.0 | MUST | Yes | 2 | Mapped | The server must treat every topic as an Ordered Topic by default; it may offer an administrative way to mark topics as Unordered. |
| 3.1.1/MQTT-4.6.0-6 | 4.6.0 | MUST | Yes | 3 | Mapped | For Ordered Topics the server must apply the 4.6 ordering rules to each subscriber and forward PUBLISHes per topic and QoS in the order received from each client. |
| 3.1.1/MQTT-4.7.1-1 | 4.7.1 | MUST NOT | Yes | 2 | Mapped | Wildcard characters may be used in Topic Filters but must not appear within a Topic Name. |
| 3.1.1/MQTT-4.7.1-2 | 4.7.1 | MUST | Yes | 4 | Mapped | The '#' wildcard must stand alone or directly follow a '/' separator, and must be the last character of the Topic Filter. |
| 3.1.1/MQTT-4.7.1-3 | 4.7.1 | MUST | Yes | 6 | Mapped | The '+' wildcard may be used at any level, including first and last, but must occupy an entire topic level. |
| 3.1.1/MQTT-4.7.2-1 | 4.7.2 | MUST NOT | Yes | 5 | Mapped | The server must not match Topic Filters starting with '#' or '+' against Topic Names starting with '$'. |
| 3.1.1/MQTT-4.7.3-1 | 4.7.3 | MUST | Yes | 3 | Mapped | Every Topic Name and Topic Filter must be non-empty, i.e. contain at least one character. |
| 3.1.1/MQTT-4.7.3-2 | 4.7.3 | MUST NOT | Yes | 4 | Mapped | Topic Names and Topic Filters must not contain the null character U+0000. |
| 3.1.1/MQTT-4.7.3-3 | 4.7.3 | MUST NOT | Yes | 2 | Mapped | Topic Names and Topic Filters must not encode to more than 65535 bytes. |
| 3.1.1/MQTT-4.7.3-4 | 4.7.3 | MUST NOT | Yes | 2 | Mapped | During subscription matching the server must not normalize Topic Names or Filters nor modify or substitute unrecognized characters. |
| 3.1.1/MQTT-4.8.0-1 | 4.8.0 | MUST | Yes | 4 | Mapped | Unless stated otherwise, a client or server that encounters a protocol violation must close the network connection that carried the offending packet. |
| 3.1.1/MQTT-4.8.0-2 | 4.8.0 | MUST | Yes | 1 | Mapped | A client or server hitting a transient error while processing an inbound packet must close the network connection that carried it. |
| 3.1.1/MQTT-6.0.0-1 | 6.0.0 | MUST | Yes | 4 | Mapped | Over WebSocket, MQTT packets must be sent in binary data frames; a recipient receiving any other data frame type must close the network connection. |
| 3.1.1/MQTT-6.0.0-2 | 6.0.0 | MUST NOT | Yes | 3 | Mapped | A WebSocket receiver must not assume MQTT packets align with frame boundaries; one frame may hold several or partial packets. |
| 3.1.1/MQTT-6.0.0-4 | 6.0.0 | MUST | Yes | 2 | Mapped | The WebSocket subprotocol the server selects and returns in the handshake must be 'mqtt'. |
| 3.1.1/MQTT-7.0.0-1 | 7.0.0 | MUST | Yes | 0 | Not yet mapped | A server that also opens outbound connections to other servers (e.g. as a bridge) must meet the conformance requirements of both an MQTT client and an MQTT server. |
| 3.1.1/MQTT-7.0.0-2 | 7.0.0 | MUST NOT | Yes | 1 | Mapped | A conformant implementation must not require any extension defined outside this specification to interoperate with other conformant implementations. |
| 3.1.1/MQTT-7.1.1-1 | 7.1.1 | MUST | Yes | 1 | Mapped | A conformant server must support at least one transport that provides an ordered, lossless, bidirectional byte stream between client and server. |
| 5.0/MQTT-1.5.4-1 | 1.5.4 | MUST | Yes | 3 | Mapped | UTF-8 string data must be well-formed UTF-8 and must not encode surrogate code points U+D800..U+DFFF; receiver treats violations as Malformed Packet. |
| 5.0/MQTT-1.5.4-2 | 1.5.4 | MUST NOT | Yes | 2 | Mapped | UTF-8 encoded strings must not contain the null character U+0000. |
| 5.0/MQTT-1.5.4-3 | 1.5.4 | MUST NOT | Yes | 1 | Mapped | The byte sequence EF BB BF inside a string is U+FEFF and a receiver must preserve it, never skipping or stripping it. |
| 5.0/MQTT-1.5.5-1 | 1.5.5 | MUST | Yes | 5 | Mapped | Variable Byte Integers must be encoded using the minimum number of bytes needed for the value; non-minimal encodings are invalid. |
| 5.0/MQTT-1.5.7-1 | 1.5.7 | MUST | Yes | 3 | Mapped | Both the name and the value of a UTF-8 String Pair must satisfy all UTF-8 Encoded String rules. |
| 5.0/MQTT-2.1.3-1 | 2.1.3 | MUST | Yes | 4 | Mapped | Fixed-header flag bits marked Reserved must carry exactly the value listed for that packet type; other values make the packet malformed. |
| 5.0/MQTT-2.2.1-2 | 2.2.1 | MUST NOT | Yes | 1 | Mapped | A QoS 0 PUBLISH must not carry a Packet Identifier field. |
| 5.0/MQTT-2.2.1-3 | 2.2.1 | MUST | Yes | 1 | Mapped | Each new client SUBSCRIBE, UNSUBSCRIBE, or QoS>0 PUBLISH must use a non-zero Packet Identifier not currently in use by that client. |
| 5.0/MQTT-2.2.1-4 | 2.2.1 | MUST | Yes | 1 | Mapped | Each new QoS>0 PUBLISH sent by the Server must use a non-zero Packet Identifier not currently in use for that session. |
| 5.0/MQTT-2.2.1-5 | 2.2.1 | MUST | Yes | 1 | Mapped | PUBACK, PUBREC, PUBREL and PUBCOMP must echo the Packet Identifier of the PUBLISH flow they belong to. |
| 5.0/MQTT-2.2.1-6 | 2.2.1 | MUST | Yes | 1 | Mapped | SUBACK and UNSUBACK must echo the Packet Identifier of the SUBSCRIBE or UNSUBSCRIBE being acknowledged. |
| 5.0/MQTT-2.2.2-1 | 2.2.2.1 | MUST | Yes | 2 | Mapped | When a packet has no properties, the Property Length field must still be present and set to zero. |
| 5.0/MQTT-3.1.0-1 | 3.1 | MUST | Yes | 2 | Mapped | The first packet a Client sends on a new Network Connection must be CONNECT; the Server treats anything else as a protocol violation. |
| 5.0/MQTT-3.1.0-2 | 3.1 | MUST | Yes | 2 | Mapped | A second CONNECT on the same Network Connection must be handled by the Server as a Protocol Error, closing the connection. |
| 5.0/MQTT-3.1.2-1 | 3.1.2.1 | MUST | Yes | 2 | Mapped | CONNECT Protocol Name must be the UTF-8 string "MQTT"; otherwise Server may send CONNACK 0x84 and must close the connection. |
| 5.0/MQTT-3.1.2-2 | 3.1.2.2 | MUST | Yes | 3 | Mapped | If Protocol Version is not 5 and the Server rejects it, it may send CONNACK 0x84 and must then close the connection. |
| 5.0/MQTT-3.1.2-3 | 3.1.2.3 | MUST | Yes | 3 | Mapped | Server must check that the CONNECT flags reserved bit (bit 0) is 0 and treat a non-zero value as Malformed Packet. |
| 5.0/MQTT-3.1.2-4 | 3.1.2.4 | MUST | Yes | 2 | Mapped | On CONNECT with Clean Start=1, Client and Server must discard any existing Session and begin a fresh one. |
| 5.0/MQTT-3.1.2-5 | 3.1.2.4 | MUST | Yes | 5 | Mapped | On CONNECT with Clean Start=0 and an existing Session for the ClientID, the Server must resume using that Session's state. |
| 5.0/MQTT-3.1.2-6 | 3.1.2.4 | MUST | Yes | 1 | Mapped | On CONNECT with Clean Start=0 and no Session for the ClientID, the Server must create a new Session. |
| 5.0/MQTT-3.1.2-7 | 3.1.2.5 | MUST | Yes | 1 | Mapped | When Will Flag=1, the Server must store the Will Message and associate it with the Session. |
| 5.0/MQTT-3.1.2-8 | 3.1.2.5 | MUST | Yes | 11 | Mapped | Server must publish the Will after connection close once Will Delay elapses or Session ends, unless removed by DISCONNECT 0x00 or a reconnect before the delay. |
| 5.0/MQTT-3.1.2-9 | 3.1.2.5 | MUST | Yes | 3 | Mapped | When Will Flag=1, the CONNECT payload must contain Will Properties, Will Topic and Will Payload; Server uses Will QoS and Will Retain. |
| 5.0/MQTT-3.1.2-10 | 3.1.2.5 | MUST | Yes | 3 | Mapped | Server must remove the stored Will Message from Session State after publishing it or on receiving DISCONNECT with Reason Code 0x00. |
| 5.0/MQTT-3.1.2-11 | 3.1.2.6 | MUST | Yes | 2 | Mapped | When Will Flag=0, both Will QoS bits must be 0; a CONNECT violating this fails the Server's CONNECT format validation (see MQTT-3.1.4-1). |
| 5.0/MQTT-3.1.2-12 | 3.1.2.6 | MAY | Yes | 2 | Mapped | When Will Flag=1, Will QoS may be 0, 1 or 2; a value of 3 is a Malformed Packet. |
| 5.0/MQTT-3.1.2-13 | 3.1.2.7 | MUST | Yes | 2 | Mapped | When Will Flag=0, the Will Retain bit must be 0; a CONNECT violating this fails the Server's CONNECT format validation (see MQTT-3.1.4-1). |
| 5.0/MQTT-3.1.2-14 | 3.1.2.7 | MUST | Yes | 3 | Mapped | If Will Flag=1 and Will Retain=0, the Will Message must be published by the Server as non-retained. |
| 5.0/MQTT-3.1.2-15 | 3.1.2.7 | MUST | Yes | 1 | Mapped | If Will Flag=1 and Will Retain=1, the Will Message must be published by the Server as retained. |
| 5.0/MQTT-3.1.2-16 | 3.1.2.8 | MUST NOT | Yes | 2 | Mapped | If User Name Flag=0, the CONNECT payload must not contain a User Name. |
| 5.0/MQTT-3.1.2-17 | 3.1.2.8 | MUST | Yes | 3 | Mapped | If User Name Flag=1, the CONNECT payload must contain a User Name. |
| 5.0/MQTT-3.1.2-18 | 3.1.2.9 | MUST NOT | Yes | 2 | Mapped | If Password Flag=0, the CONNECT payload must not contain a Password. |
| 5.0/MQTT-3.1.2-19 | 3.1.2.9 | MUST | Yes | 3 | Mapped | If Password Flag=1, the CONNECT payload must contain a Password. |
| 5.0/MQTT-3.1.2-22 | 3.1.2.10 | MUST | Yes | 2 | Mapped | With non-zero Keep Alive, if no packet arrives from the Client within 1.5x the Keep Alive period, the Server must close the connection as a network failure. |
| 5.0/MQTT-3.1.2-23 | 3.1.2.11.2 | MUST | Yes | 2 | Mapped | When Session Expiry Interval is greater than 0, Client and Server must retain Session State after the Network Connection closes. |
| 5.0/MQTT-3.1.2-24 | 3.1.2.11.4 | MUST NOT | Yes | 2 | Mapped | Server must not send any packet larger than the Maximum Packet Size the Client declared in CONNECT. |
| 5.0/MQTT-3.1.2-25 | 3.1.2.11.4 | MUST | Yes | 3 | Mapped | An outgoing packet exceeding the Client's Maximum Packet Size must be silently discarded, with the Server behaving as if delivery of that message completed. |
| 5.0/MQTT-3.1.2-26 | 3.1.2.11.5 | MUST NOT | Yes | 3 | Mapped | Server must not send a Topic Alias value greater than the Topic Alias Maximum the Client declared in CONNECT. |
| 5.0/MQTT-3.1.2-27 | 3.1.2.11.5 | MUST NOT | Yes | 2 | Mapped | When the Client's CONNECT omits Topic Alias Maximum or sets it to 0, the Server must send that Client no Topic Aliases at all. |
| 5.0/MQTT-3.1.2-28 | 3.1.2.11.6 | MUST NOT | Yes | 2 | Mapped | If Request Response Information is 0, the Server must not include Response Information in CONNACK. |
| 5.0/MQTT-3.1.2-29 | 3.1.2.11.7 | MUST NOT | Yes | 2 | Mapped | If Request Problem Information is 0, the Server must not send Reason String or User Properties except on PUBLISH, CONNACK or DISCONNECT. |
| 5.0/MQTT-3.1.2-30 | 3.1.2.11.9 | MUST NOT | Yes | 0 | Not yet mapped | A Client that sent an Authentication Method must send only AUTH or DISCONNECT until it receives CONNACK. |
| 5.0/MQTT-3.1.3-1 | 3.1.3 | MUST | Yes | 1 | Mapped | CONNECT payload fields, when present, must appear in order: Client Identifier, Will Properties/Topic/Payload, User Name, Password. |
| 5.0/MQTT-3.1.3-2 | 3.1.3.1 | MUST | Yes | 1 | Mapped | Client and Server must use the ClientID to identify the Session State they hold for that Client. |
| 5.0/MQTT-3.1.3-3 | 3.1.3.1 | MUST | Yes | 1 | Mapped | The ClientID must always be present as the first field of the CONNECT payload. |
| 5.0/MQTT-3.1.3-4 | 3.1.3.1 | MUST | Yes | 2 | Mapped | The ClientID must be a valid UTF-8 Encoded String. |
| 5.0/MQTT-3.1.3-5 | 3.1.3.1 | MUST | Yes | 1 | Mapped | Server must accept ClientIDs of 1 to 23 bytes consisting solely of ASCII digits and upper/lower-case letters. |
| 5.0/MQTT-3.1.3-6 | 3.1.3.1 | MUST | Yes | 2 | Mapped | If the Server permits a zero-length ClientID, it must assign that Client a unique ClientID. |
| 5.0/MQTT-3.1.3-7 | 3.1.3.1 | MUST | Yes | 3 | Mapped | For an assigned ClientID, the Server must process CONNECT as if the Client supplied it and return it as Assigned Client Identifier in CONNACK. |
| 5.0/MQTT-3.1.3-8 | 3.1.3.1 | MUST | Yes | 2 | Mapped | When rejecting a ClientID, the Server may reply CONNACK 0x85 and must then close the Network Connection. |
| 5.0/MQTT-3.1.3-9 | 3.1.3.2.2 | MUST NOT | Yes | 2 | Mapped | If the Client reconnects to the Session before the Will Delay Interval expires, the Server must not publish the Will Message. |
| 5.0/MQTT-3.1.3-10 | 3.1.3.2.8 | MUST | Yes | 2 | Mapped | When publishing a Will Message, the Server must preserve the order of its User Properties. |
| 5.0/MQTT-3.1.3-11 | 3.1.3.3 | MUST | Yes | 1 | Mapped | The Will Topic must be a valid UTF-8 Encoded String. |
| 5.0/MQTT-3.1.3-12 | 3.1.3.5 | MUST | Yes | 1 | Mapped | When present, the User Name must be a valid UTF-8 Encoded String. |
| 5.0/MQTT-3.1.4-1 | 3.1.4 | MUST | Yes | 2 | Mapped | Server must validate CONNECT against the packet format rules and close the connection if it is not well formed. |
| 5.0/MQTT-3.1.4-2 | 3.1.4 | MUST | Yes | 1 | Mapped | Server may apply extra checks and should authenticate/authorize; if any such check fails it must close the connection. |
| 5.0/MQTT-3.1.4-3 | 3.1.4 | MUST | Yes | 2 | Mapped | If the ClientID is already connected, Server sends DISCONNECT 0x8E to the existing Client and must close that existing connection. |
| 5.0/MQTT-3.1.4-4 | 3.1.4 | MUST | Yes | 1 | Mapped | Server must carry out Clean Start processing when handling a CONNECT. |
| 5.0/MQTT-3.1.4-5 | 3.1.4 | MUST | Yes | 1 | Mapped | On accepting a CONNECT, the Server must reply with CONNACK carrying Reason Code 0x00 (Success). |
| 5.0/MQTT-3.1.4-6 | 3.1.4 | MUST NOT | Yes | 1 | Mapped | After rejecting a CONNECT, the Server must ignore all subsequent data from the Client except AUTH packets. |
| 5.0/MQTT-3.2.0-1 | 3.2 | MUST | Yes | 1 | Mapped | Server must send a successful CONNACK (0x00) before sending any packet other than AUTH. |
| 5.0/MQTT-3.2.0-2 | 3.2 | MUST NOT | Yes | 1 | Mapped | Server must send at most one CONNACK per Network Connection. |
| 5.0/MQTT-3.2.2-1 | 3.2.2.1 | MUST | Yes | 3 | Mapped | Bits 7-1 of the CONNACK Acknowledge Flags byte are reserved and must be 0. |
| 5.0/MQTT-3.2.2-2 | 3.2.2.1.1 | MUST | Yes | 2 | Mapped | When accepting a CONNECT with Clean Start=1, Server must send CONNACK with Session Present=0 and Reason Code 0x00. |
| 5.0/MQTT-3.2.2-3 | 3.2.2.1.1 | MUST | Yes | 4 | Mapped | When accepting Clean Start=0, Session Present must be 1 if Session State exists for the ClientID, else 0; Reason Code must be 0x00. |
| 5.0/MQTT-3.2.2-6 | 3.2.2.1.1 | MUST | Yes | 2 | Mapped | A CONNACK with a non-zero Reason Code must have Session Present set to 0. |
| 5.0/MQTT-3.2.2-7 | 3.2.2.2 | MUST | Yes | 1 | Mapped | After sending a CONNACK with Reason Code 0x80 or above, the Server must close the Network Connection. |
| 5.0/MQTT-3.2.2-8 | 3.2.2.2 | MUST | Yes | 2 | Mapped | CONNACK Reason Code must be one of the values defined in the Connect Reason Code table. |
| 5.0/MQTT-3.2.2-9 | 3.2.2.3.4 | MUST | Yes | 2 | Mapped | A Server not supporting QoS 1 or 2 must announce its highest supported QoS via the Maximum QoS property in CONNACK. |
| 5.0/MQTT-3.2.2-10 | 3.2.2.3.4 | MUST | Yes | 2 | Mapped | A Server with reduced Maximum QoS must still accept SUBSCRIBE requests asking for QoS 0, 1 or 2. |
| 5.0/MQTT-3.2.2-11 | 3.2.2.3.4 | MUST NOT | Yes | 2 | Mapped | After receiving Maximum QoS, the Client must not publish above that QoS; Server treats violation as error (0x9B). |
| 5.0/MQTT-3.2.2-12 | 3.2.2.3.4 | MUST | Yes | 1 | Mapped | A CONNECT whose Will QoS exceeds Server capability must be rejected, preferably with CONNACK 0x9B, and the connection closed. |
| 5.0/MQTT-3.2.2-13 | 3.2.2.3.5 | MUST | Yes | 1 | Mapped | A CONNECT with Will Retain=1 to a Server lacking retain support must be rejected, preferably with CONNACK 0x9A, and the connection closed. |
| 5.0/MQTT-3.2.2-14 | 3.2.2.3.5 | MUST NOT | Yes | 2 | Mapped | After Retain Available=0, the Client must not send PUBLISH with RETAIN=1; Server treats violation as error (0x9A). |
| 5.0/MQTT-3.2.2-15 | 3.2.2.3.6 | MUST NOT | Yes | 4 | Mapped | Client must not send packets exceeding the Maximum Packet Size the Server declared in CONNACK; Server treats oversized packets as error (0x95). |
| 5.0/MQTT-3.2.2-16 | 3.2.2.3.7 | MUST | Yes | 3 | Mapped | For a zero-length ClientID, CONNACK must include an Assigned Client Identifier not used by any other current Session on the Server. |
| 5.0/MQTT-3.2.2-17 | 3.2.2.3.8 | MUST NOT | Yes | 2 | Mapped | Client must not send a Topic Alias greater than the Topic Alias Maximum given in CONNACK. |
| 5.0/MQTT-3.2.2-18 | 3.2.2.3.8 | MUST NOT | Yes | 1 | Mapped | If CONNACK omits Topic Alias Maximum or sets it to 0, the Client must not send any Topic Alias to the Server. |
| 5.0/MQTT-3.2.2-19 | 3.2.2.3.9 | MUST NOT | Yes | 2 | Mapped | Server must omit the CONNACK Reason String if including it would exceed the Client's Maximum Packet Size. |
| 5.0/MQTT-3.2.2-20 | 3.2.2.3.10 | MUST NOT | Yes | 2 | Mapped | Server must omit CONNACK User Properties if including them would exceed the Client's Maximum Packet Size. |
| 5.0/MQTT-3.2.2-22 | 3.2.2.3.14 | MUST | Yes | 1 | Mapped | If no Server Keep Alive is sent in CONNACK, the Server must enforce the Keep Alive value from the Client's CONNECT. |
| 5.0/MQTT-3.3.1-1 | 3.3.1.1 | MUST | Yes | 3 | Mapped | The DUP flag must be set to 1 whenever a PUBLISH packet is being re-delivered. |
| 5.0/MQTT-3.3.1-2 | 3.3.1.1 | MUST | Yes | 3 | Mapped | The DUP flag must be 0 on every QoS 0 PUBLISH. |
| 5.0/MQTT-3.3.1-3 | 3.3.1.1 | MUST | Yes | 2 | Mapped | DUP on a forwarded PUBLISH must reflect only whether that outgoing packet is a retransmission, independent of the inbound DUP. |
| 5.0/MQTT-3.3.1-4 | 3.3.1.2 | MUST NOT | Yes | 3 | Mapped | A PUBLISH must not have QoS bits set to 3 (both bits 1); receiver treats it as Malformed Packet. |
| 5.0/MQTT-3.3.1-5 | 3.3.1.3 | MUST | Yes | 5 | Mapped | On a client PUBLISH with RETAIN=1, the Server must store the message, replacing any existing retained message for that topic. |
| 5.0/MQTT-3.3.1-6 | 3.3.1.3 | MUST | Yes | 3 | Mapped | A RETAIN=1 PUBLISH with empty payload is delivered normally but must clear any retained message for that topic. |
| 5.0/MQTT-3.3.1-7 | 3.3.1.3 | MUST NOT | Yes | 3 | Mapped | A retained PUBLISH with a zero-byte payload must not itself be stored as a retained message. |
| 5.0/MQTT-3.3.1-8 | 3.3.1.3 | MUST NOT | Yes | 2 | Mapped | On a client PUBLISH with RETAIN=0, the Server must neither store it as retained nor alter any existing retained message. |
| 5.0/MQTT-3.3.1-9 | 3.3.1.3 | MUST | Yes | 5 | Mapped | With Retain Handling 0, the Server must send matching retained messages when the subscription is made. |
| 5.0/MQTT-3.3.1-10 | 3.3.1.3 | MUST | Yes | 3 | Mapped | With Retain Handling 1, Server must send matching retained messages if the subscription is new, and must not send them if it already existed. |
| 5.0/MQTT-3.3.1-11 | 3.3.1.3 | MUST NOT | Yes | 2 | Mapped | With Retain Handling 2, the Server must not send retained messages when the subscription is made. |
| 5.0/MQTT-3.3.1-12 | 3.3.1.3 | MUST | Yes | 4 | Mapped | If Retain As Published is 0, the Server must forward messages with RETAIN=0 regardless of the received RETAIN flag. |
| 5.0/MQTT-3.3.1-13 | 3.3.1.3 | MUST | Yes | 3 | Mapped | If Retain As Published is 1, the Server must forward messages with RETAIN equal to the received PUBLISH's RETAIN flag. |
| 5.0/MQTT-3.3.2-1 | 3.3.2.1 | MUST | Yes | 2 | Mapped | PUBLISH variable header must begin with the Topic Name, which must be a valid UTF-8 Encoded String. |
| 5.0/MQTT-3.3.2-2 | 3.3.2.1 | MUST NOT | Yes | 2 | Mapped | The PUBLISH Topic Name must not contain the wildcard characters + or #. |
| 5.0/MQTT-3.3.2-3 | 3.3.2.1 | MUST | Yes | 4 | Mapped | The Topic Name in a PUBLISH forwarded to a subscriber must match that subscription's Topic Filter. |
| 5.0/MQTT-3.3.2-4 | 3.3.2.3.2 | MUST | Yes | 2 | Mapped | Server must forward the Payload Format Indicator unchanged to every subscriber receiving the message. |
| 5.0/MQTT-3.3.2-5 | 3.3.2.3.3 | MUST | Yes | 3 | Mapped | If Message Expiry elapses before onward delivery to a subscriber has begun, the Server must delete that subscriber's copy. |
| 5.0/MQTT-3.3.2-6 | 3.3.2.3.3 | MUST | Yes | 7 | Mapped | Forwarded PUBLISH must carry Message Expiry Interval equal to the received value minus the time the message waited in the Server. |
| 5.0/MQTT-3.3.2-7 | 3.3.2.3.4 | MUST NOT | Yes | 2 | Mapped | Topic Alias mappings must not persist across Network Connections; receiver resets them per connection. |
| 5.0/MQTT-3.3.2-8 | 3.3.2.3.4 | MUST NOT | Yes | 5 | Mapped | A PUBLISH must not carry Topic Alias 0; receiver treats it as Protocol Error. |
| 5.0/MQTT-3.3.2-9 | 3.3.2.3.4 | MUST NOT | Yes | 4 | Mapped | Client must not send a Topic Alias greater than the Topic Alias Maximum returned in CONNACK. |
| 5.0/MQTT-3.3.2-11 | 3.3.2.3.4 | MUST NOT | Yes | 2 | Mapped | Server must not send a Topic Alias greater than the Topic Alias Maximum the Client sent in CONNECT. |
| 5.0/MQTT-3.3.2-12 | 3.3.2.3.4 | MUST | Yes | 3 | Mapped | Server must accept any Topic Alias from 1 up to the Topic Alias Maximum it returned in CONNACK. |
| 5.0/MQTT-3.3.2-13 | 3.3.2.3.5 | MUST | Yes | 1 | Mapped | The Response Topic property must be a valid UTF-8 Encoded String. |
| 5.0/MQTT-3.3.2-14 | 3.3.2.3.5 | MUST NOT | Yes | 2 | Mapped | The Response Topic property must not contain the wildcard characters + or #. |
| 5.0/MQTT-3.3.2-15 | 3.3.2.3.5 | MUST | Yes | 2 | Mapped | Server must forward the Response Topic unchanged to every subscriber receiving the message. |
| 5.0/MQTT-3.3.2-16 | 3.3.2.3.6 | MUST | Yes | 2 | Mapped | Server must forward Correlation Data unchanged to every subscriber receiving the message. |
| 5.0/MQTT-3.3.2-17 | 3.3.2.3.7 | MUST | Yes | 3 | Mapped | Server must forward all User Properties of a PUBLISH unchanged when delivering it to a Client. |
| 5.0/MQTT-3.3.2-18 | 3.3.2.3.7 | MUST | Yes | 4 | Mapped | Server must preserve the order of User Properties when forwarding a PUBLISH. |
| 5.0/MQTT-3.3.2-19 | 3.3.2.3.9 | MUST | Yes | 1 | Mapped | The Content Type property must be a valid UTF-8 Encoded String. |
| 5.0/MQTT-3.3.2-20 | 3.3.2.3.9 | MUST | Yes | 3 | Mapped | Server must forward the Content Type unchanged to every subscriber receiving the message. |
| 5.0/MQTT-3.3.4-1 | 3.3.4 | MUST | Yes | 4 | Mapped | The receiver of a PUBLISH must respond with the acknowledgement required by its QoS (none, PUBACK, or PUBREC). |
| 5.0/MQTT-3.3.4-2 | 3.3.4 | MUST | Yes | 2 | Mapped | When a message matches several overlapping subscriptions of one Client, the Server must deliver it at the highest QoS among those subscriptions. |
| 5.0/MQTT-3.3.4-3 | 3.3.4 | MUST | Yes | 4 | Mapped | If any overlapping matching subscription has a Subscription Identifier, the Server must include those identifiers in the delivered message(s). |
| 5.0/MQTT-3.3.4-4 | 3.3.4 | MUST | Yes | 2 | Mapped | When sending one copy for overlapping subscriptions, the PUBLISH must include Subscription Identifiers of all matching subscriptions that have one, in any order. |
| 5.0/MQTT-3.3.4-5 | 3.3.4 | MUST | Yes | 2 | Mapped | When sending one PUBLISH per matching subscription, each must carry that subscription's Subscription Identifier if it has one. |
| 5.0/MQTT-3.3.4-6 | 3.3.4 | MUST NOT | Yes | 2 | Mapped | A PUBLISH from Client to Server must not include a Subscription Identifier; Server treats it as Protocol Error. |
| 5.0/MQTT-3.3.4-7 | 3.3.4 | MUST NOT | Yes | 5 | Mapped | Client must not have more unacknowledged QoS 1/2 PUBLISH packets in flight than the Server's Receive Maximum; Server treats excess as error (0x93). |
| 5.0/MQTT-3.3.4-9 | 3.3.4 | MUST NOT | Yes | 5 | Mapped | Server must not have more unacknowledged QoS 1/2 PUBLISH packets in flight to a Client than the Client's Receive Maximum. |
| 5.0/MQTT-3.3.4-10 | 3.3.4 | MUST NOT | Yes | 2 | Mapped | Server must not hold back non-PUBLISH packets because its Receive Maximum in-flight window to the Client is full. |
| 5.0/MQTT-3.4.2-1 | 3.4.2.1 | MUST | Yes | 2 | Mapped | A PUBACK must use a Reason Code from the defined PUBACK Reason Code set. |
| 5.0/MQTT-3.4.2-2 | 3.4.2.2.2 | MUST NOT | Yes | 1 | Mapped | PUBACK Reason String must be omitted if it would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.4.2-3 | 3.4.2.2.3 | MUST NOT | Yes | 1 | Mapped | PUBACK User Properties must be omitted if they would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.5.2-1 | 3.5.2.1 | MUST | Yes | 2 | Mapped | A PUBREC must use a Reason Code from the defined PUBREC Reason Code set. |
| 5.0/MQTT-3.5.2-2 | 3.5.2.2.2 | MUST NOT | Yes | 1 | Mapped | PUBREC Reason String must be omitted if it would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.5.2-3 | 3.5.2.2.3 | MUST NOT | Yes | 1 | Mapped | PUBREC User Properties must be omitted if they would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.6.1-1 | 3.6.1 | MUST | Yes | 2 | Mapped | PUBREL fixed-header flags must be 0b0010; Server must treat any other value as Malformed Packet and close the connection. |
| 5.0/MQTT-3.6.2-1 | 3.6.2.1 | MUST | Yes | 2 | Mapped | A PUBREL must use a Reason Code from the defined PUBREL Reason Code set. |
| 5.0/MQTT-3.6.2-2 | 3.6.2.2.2 | MUST NOT | Yes | 1 | Mapped | PUBREL Reason String must be omitted if it would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.6.2-3 | 3.6.2.2.3 | MUST NOT | Yes | 1 | Mapped | PUBREL User Properties must be omitted if they would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.7.2-1 | 3.7.2.1 | MUST | Yes | 2 | Mapped | A PUBCOMP must use a Reason Code from the defined PUBCOMP Reason Code set. |
| 5.0/MQTT-3.7.2-2 | 3.7.2.2.2 | MUST NOT | Yes | 1 | Mapped | PUBCOMP Reason String must be omitted if it would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.7.2-3 | 3.7.2.2.3 | MUST NOT | Yes | 1 | Mapped | PUBCOMP User Properties must be omitted if they would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.8.1-1 | 3.8.1 | MUST | Yes | 3 | Mapped | SUBSCRIBE fixed-header flags must be 0b0010; Server must treat any other value as Malformed Packet and close the connection. |
| 5.0/MQTT-3.8.3-1 | 3.8.3 | MUST | Yes | 1 | Mapped | Each Topic Filter in SUBSCRIBE must be a valid UTF-8 Encoded String. |
| 5.0/MQTT-3.8.3-2 | 3.8.3 | MUST | Yes | 2 | Mapped | SUBSCRIBE payload must contain at least one Topic Filter with its Subscription Options; an empty payload is a Protocol Error. |
| 5.0/MQTT-3.8.3-3 | 3.8.3.1 | MUST NOT | Yes | 3 | Mapped | With No Local=1, the Server must not deliver messages back to a connection whose ClientID equals the publisher's ClientID. |
| 5.0/MQTT-3.8.3-4 | 3.8.3.1 | MUST NOT | Yes | 2 | Mapped | Setting No Local=1 on a Shared Subscription is a Protocol Error; Server must treat it as such. |
| 5.0/MQTT-3.8.3-5 | 3.8.3.1 | MUST | Yes | 2 | Mapped | Server must treat SUBSCRIBE as malformed if any reserved bits of a Subscription Options byte are non-zero. |
| 5.0/MQTT-3.8.4-1 | 3.8.4 | MUST | Yes | 2 | Mapped | Server must answer every SUBSCRIBE with a SUBACK. |
| 5.0/MQTT-3.8.4-2 | 3.8.4 | MUST | Yes | 2 | Mapped | SUBACK must carry the same Packet Identifier as the SUBSCRIBE it acknowledges. |
| 5.0/MQTT-3.8.4-3 | 3.8.4 | MUST | Yes | 5 | Mapped | A SUBSCRIBE with a Topic Filter identical to an existing non-shared subscription in the Session must replace that subscription. |
| 5.0/MQTT-3.8.4-4 | 3.8.4 | MUST | Yes | 2 | Mapped | When replacing a subscription with Retain Handling 0, matching retained messages must be resent and no messages may be lost due to replacement. |
| 5.0/MQTT-3.8.4-5 | 3.8.4 | MUST | Yes | 4 | Mapped | A SUBSCRIBE with multiple Topic Filters must be handled as a sequence of individual subscribes, with one combined SUBACK. |
| 5.0/MQTT-3.8.4-6 | 3.8.4 | MUST | Yes | 3 | Mapped | SUBACK must contain one Reason Code per Topic Filter / Subscription Options pair in the SUBSCRIBE. |
| 5.0/MQTT-3.8.4-7 | 3.8.4 | MUST | Yes | 4 | Mapped | Each SUBACK Reason Code must state the granted maximum QoS for that filter or signal failure. |
| 5.0/MQTT-3.8.4-8 | 3.8.4 | MUST | Yes | 6 | Mapped | Messages delivered for a subscription must use the lower of the published QoS and the granted maximum QoS. |
| 5.0/MQTT-3.9.2-1 | 3.9.2.1.2 | MUST NOT | Yes | 1 | Mapped | SUBACK Reason String must be omitted if it would exceed the Client's Maximum Packet Size. |
| 5.0/MQTT-3.9.2-2 | 3.9.2.1.3 | MUST NOT | Yes | 1 | Mapped | SUBACK User Properties must be omitted if they would exceed the Client's Maximum Packet Size. |
| 5.0/MQTT-3.9.3-1 | 3.9.3 | MUST | Yes | 2 | Mapped | SUBACK Reason Codes must be in the same order as the Topic Filters in the SUBSCRIBE. |
| 5.0/MQTT-3.9.3-2 | 3.9.3 | MUST | Yes | 4 | Mapped | SUBACK must contain a valid Subscribe Reason Code value for each received Topic Filter. |
| 5.0/MQTT-3.10.1-1 | 3.10.1 | MUST | Yes | 2 | Mapped | UNSUBSCRIBE fixed-header flags must be 0b0010; Server must treat any other value as Malformed Packet and close the connection. |
| 5.0/MQTT-3.10.3-1 | 3.10.3 | MUST | Yes | 1 | Mapped | Each Topic Filter in UNSUBSCRIBE must be a valid UTF-8 Encoded String. |
| 5.0/MQTT-3.10.3-2 | 3.10.3 | MUST | Yes | 2 | Mapped | UNSUBSCRIBE payload must contain at least one Topic Filter; an empty payload is a Protocol Error. |
| 5.0/MQTT-3.10.4-1 | 3.10.4 | MUST | Yes | 3 | Mapped | UNSUBSCRIBE filters must be compared byte-for-byte (no wildcard matching) with existing filters; an exact match must delete that subscription. |
| 5.0/MQTT-3.10.4-2 | 3.10.4 | MUST | Yes | 4 | Mapped | On UNSUBSCRIBE, the Server must stop queuing new matching messages for that Client. |
| 5.0/MQTT-3.10.4-3 | 3.10.4 | MUST | Yes | 1 | Mapped | On UNSUBSCRIBE, the Server must finish delivering QoS 1/2 messages for those filters that it had already started sending. |
| 5.0/MQTT-3.10.4-4 | 3.10.4 | MUST | Yes | 3 | Mapped | Server must answer every UNSUBSCRIBE with an UNSUBACK. |
| 5.0/MQTT-3.10.4-5 | 3.10.4 | MUST | Yes | 3 | Mapped | UNSUBACK must carry the UNSUBSCRIBE's Packet Identifier and must be sent even when no subscription was removed. |
| 5.0/MQTT-3.10.4-6 | 3.10.4 | MUST | Yes | 3 | Mapped | An UNSUBSCRIBE with multiple filters must be processed as a sequence of individual unsubscribes, with a single UNSUBACK. |
| 5.0/MQTT-3.11.2-1 | 3.11.2.1.2 | MUST NOT | Yes | 1 | Mapped | UNSUBACK Reason String must be omitted if it would exceed the Client's Maximum Packet Size. |
| 5.0/MQTT-3.11.2-2 | 3.11.2.1.3 | MUST NOT | Yes | 1 | Mapped | UNSUBACK User Properties must be omitted if they would exceed the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.11.3-1 | 3.11.3 | MUST | Yes | 2 | Mapped | UNSUBACK Reason Codes must be in the same order as the Topic Filters in the UNSUBSCRIBE. |
| 5.0/MQTT-3.11.3-2 | 3.11.3 | MUST | Yes | 5 | Mapped | UNSUBACK must contain a valid Unsubscribe Reason Code value for each received Topic Filter. |
| 5.0/MQTT-3.12.4-1 | 3.12.4 | MUST | Yes | 2 | Mapped | Server must reply to every PINGREQ with a PINGRESP. |
| 5.0/MQTT-3.14.0-1 | 3.14 | MUST NOT | Yes | 2 | Mapped | Server must not send DISCONNECT before it has sent a CONNACK with Reason Code below 0x80. |
| 5.0/MQTT-3.14.1-1 | 3.14.1 | MUST | Yes | 2 | Mapped | Receiver must check DISCONNECT fixed-header reserved bits are 0; if not, it sends DISCONNECT 0x81 (Malformed Packet). |
| 5.0/MQTT-3.14.2-1 | 3.14.2.1 | MUST | Yes | 2 | Mapped | A DISCONNECT must use a Reason Code from the defined DISCONNECT Reason Code set. |
| 5.0/MQTT-3.14.2-2 | 3.14.2.2.2 | MUST NOT | Yes | 2 | Mapped | Server must not include a Session Expiry Interval property in DISCONNECT. |
| 5.0/MQTT-3.14.2-3 | 3.14.2.2.3 | MUST NOT | Yes | 1 | Mapped | DISCONNECT Reason String must be omitted if it would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.14.2-4 | 3.14.2.2.4 | MUST NOT | Yes | 1 | Mapped | DISCONNECT User Properties must be omitted if they would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.14.4-1 | 3.14.4 | MUST NOT | Yes | 1 | Mapped | After sending DISCONNECT, the sender must not send any further packets on that connection. |
| 5.0/MQTT-3.14.4-2 | 3.14.4 | MUST | Yes | 1 | Mapped | After sending DISCONNECT, the sender must close the Network Connection. |
| 5.0/MQTT-3.14.4-3 | 3.14.4 | MUST | Yes | 2 | Mapped | On receiving DISCONNECT with Reason Code 0x00, the Server must discard the connection's Will Message without publishing it. |
| 5.0/MQTT-3.15.1-1 | 3.15.1 | MUST | Yes | 1 | Mapped | AUTH fixed-header flags must all be 0; any other value must be treated as Malformed Packet and the connection closed. |
| 5.0/MQTT-3.15.2-1 | 3.15.2.1 | MUST | Yes | 1 | Mapped | An AUTH packet must use a Reason Code from the defined Authenticate Reason Code set. |
| 5.0/MQTT-3.15.2-2 | 3.15.2.2.4 | MUST NOT | Yes | 0 | Not yet mapped | AUTH Reason String must be omitted if it would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-3.15.2-3 | 3.15.2.2.5 | MUST NOT | Yes | 0 | Not yet mapped | AUTH User Properties must be omitted if they would push the packet over the receiver's Maximum Packet Size. |
| 5.0/MQTT-4.1.0-1 | 4.1.1 | MUST NOT | Yes | 1 | Mapped | Client and Server must not discard Session State while the Network Connection remains open. |
| 5.0/MQTT-4.1.0-2 | 4.1.1 | MUST | Yes | 3 | Mapped | Server must discard Session State once the connection is closed and the Session Expiry Interval has elapsed. |
| 5.0/MQTT-4.2.0-1 | 4.2 | MUST | Yes | 1 | Mapped | Client and Server must support at least one transport giving an ordered, lossless, bidirectional byte stream (e.g. TCP, TLS, WebSocket). |
| 5.0/MQTT-4.3.1-1 | 4.3.1 | MUST | Yes | 3 | Mapped | For QoS 0, the sender must send PUBLISH with QoS 0 and DUP=0. |
| 5.0/MQTT-4.3.2-1 | 4.3.2 | MUST | Yes | 3 | Mapped | For QoS 1, the sender must assign an unused Packet Identifier to each new Application Message. |
| 5.0/MQTT-4.3.2-2 | 4.3.2 | MUST | Yes | 4 | Mapped | For QoS 1, the sender must send PUBLISH with that Packet Identifier, QoS 1 and DUP=0. |
| 5.0/MQTT-4.3.2-3 | 4.3.2 | MUST | Yes | 1 | Mapped | For QoS 1, the sender must keep the PUBLISH as unacknowledged until the matching PUBACK arrives. |
| 5.0/MQTT-4.3.2-4 | 4.3.2 | MUST | Yes | 3 | Mapped | For QoS 1, the receiver must take ownership and reply with PUBACK carrying the incoming Packet Identifier. |
| 5.0/MQTT-4.3.2-5 | 4.3.2 | MUST | Yes | 1 | Mapped | For QoS 1, after sending PUBACK the receiver must treat a later PUBLISH with the same Packet Identifier as a new message, whatever its DUP flag. |
| 5.0/MQTT-4.3.3-1 | 4.3.3 | MUST | Yes | 2 | Mapped | For QoS 2, the sender must assign an unused Packet Identifier to each new Application Message. |
| 5.0/MQTT-4.3.3-2 | 4.3.3 | MUST | Yes | 2 | Mapped | For QoS 2, the sender must send PUBLISH with that Packet Identifier, QoS 2 and DUP=0. |
| 5.0/MQTT-4.3.3-3 | 4.3.3 | MUST | Yes | 1 | Mapped | For QoS 2, the sender must keep the PUBLISH as unacknowledged until the matching PUBREC arrives. |
| 5.0/MQTT-4.3.3-4 | 4.3.3 | MUST | Yes | 2 | Mapped | For QoS 2, on PUBREC with Reason Code below 0x80, the sender must send PUBREL with the original Packet Identifier. |
| 5.0/MQTT-4.3.3-5 | 4.3.3 | MUST | Yes | 1 | Mapped | For QoS 2, the sender must keep the PUBREL as unacknowledged until the matching PUBCOMP arrives. |
| 5.0/MQTT-4.3.3-6 | 4.3.3 | MUST NOT | Yes | 3 | Mapped | For QoS 2, once PUBREL has been sent the sender must not resend the PUBLISH. |
| 5.0/MQTT-4.3.3-7 | 4.3.3 | MUST NOT | Yes | 1 | Mapped | For QoS 2, the sender must not apply message expiry to a message whose PUBLISH has already been sent. |
| 5.0/MQTT-4.3.3-8 | 4.3.3 | MUST | Yes | 2 | Mapped | For QoS 2, the receiver must take ownership and reply with PUBREC carrying the incoming Packet Identifier. |
| 5.0/MQTT-4.3.3-9 | 4.3.3 | MUST | Yes | 1 | Mapped | For QoS 2, after sending PUBREC with Reason Code 0x80 or above, the receiver must treat a later PUBLISH with that Packet Identifier as new. |
| 5.0/MQTT-4.3.3-10 | 4.3.3 | MUST | Yes | 5 | Mapped | For QoS 2, until PUBREL arrives, a repeated PUBLISH with the same Packet Identifier must get PUBREC and must not cause duplicate onward delivery. |
| 5.0/MQTT-4.3.3-11 | 4.3.3 | MUST | Yes | 3 | Mapped | For QoS 2, the receiver must answer PUBREL with PUBCOMP carrying the same Packet Identifier. |
| 5.0/MQTT-4.3.3-12 | 4.3.3 | MUST | Yes | 2 | Mapped | For QoS 2, after sending PUBCOMP the receiver must treat a later PUBLISH with that Packet Identifier as a new message. |
| 5.0/MQTT-4.3.3-13 | 4.3.3 | MUST | Yes | 1 | Mapped | For QoS 2, the receiver must complete the PUBREC/PUBREL/PUBCOMP exchange even if the message has expired. |
| 5.0/MQTT-4.4.0-1 | 4.4 | MUST | Yes | 5 | Mapped | On reconnect with Clean Start=0 and an existing session, unacked QoS>0 PUBLISH and PUBREL must be resent with original Packet Identifiers; never resend otherwise. |
| 5.0/MQTT-4.4.0-2 | 4.4 | MUST NOT | Yes | 1 | Mapped | A PUBLISH answered by PUBACK or PUBREC with Reason Code 0x80 or above is acknowledged and must not be retransmitted. |
| 5.0/MQTT-4.5.0-1 | 4.5 | MUST | Yes | 6 | Mapped | When the Server takes ownership of a message it must add it to the Session State of every Client with a matching subscription. |
| 5.0/MQTT-4.6.0-5 | 4.6 | MUST | Yes | 2 | Mapped | For an Ordered Topic, Server must deliver PUBLISH packets to consumers (same topic and QoS) in the order received from each publishing Client. |
| 5.0/MQTT-4.6.0-6 | 4.6 | MUST | Yes | 3 | Mapped | Server must treat every topic as an Ordered Topic when forwarding on non-shared subscriptions. |
| 5.0/MQTT-4.7.0-1 | 4.7.1 | MUST NOT | Yes | 1 | Mapped | Wildcard characters are allowed in Topic Filters but must not appear in Topic Names. |
| 5.0/MQTT-4.7.1-1 | 4.7.1.2 | MUST | Yes | 4 | Mapped | The # wildcard must stand alone or follow a / separator, and must be the final character of the Topic Filter. |
| 5.0/MQTT-4.7.1-2 | 4.7.1.3 | MUST | Yes | 6 | Mapped | The + wildcard may appear at any level but must occupy that entire level of the Topic Filter. |
| 5.0/MQTT-4.7.2-1 | 4.7.2 | MUST NOT | Yes | 5 | Mapped | Topic Filters beginning with # or + must not match Topic Names that begin with $. |
| 5.0/MQTT-4.7.3-1 | 4.7.3 | MUST | Yes | 3 | Mapped | Every Topic Name and Topic Filter must be at least one character long. |
| 5.0/MQTT-4.7.3-2 | 4.7.3 | MUST NOT | Yes | 4 | Mapped | Topic Names and Topic Filters must not contain U+0000. |
| 5.0/MQTT-4.7.3-3 | 4.7.3 | MUST NOT | Yes | 2 | Mapped | Topic Names and Topic Filters must not exceed 65,535 bytes when UTF-8 encoded. |
| 5.0/MQTT-4.7.3-4 | 4.7.3 | MUST NOT | Yes | 2 | Mapped | During subscription matching, the Server must not normalize topics or alter/substitute unrecognized characters. |
| 5.0/MQTT-4.8.2-1 | 4.8.2 | MUST | Yes | 2 | Mapped | A Shared Subscription filter must begin with $share/ followed by a ShareName of at least one character. |
| 5.0/MQTT-4.8.2-2 | 4.8.2 | MUST | Yes | 2 | Mapped | ShareName must not contain /, + or #, and must be followed by / and then a Topic Filter. |
| 5.0/MQTT-4.8.2-3 | 4.8.2 | MUST | Yes | 2 | Mapped | When delivering a shared-subscription message, the Server must honour the granted QoS of the chosen Client's subscription. |
| 5.0/MQTT-4.8.2-4 | 4.8.2 | MUST | Yes | 2 | Mapped | If a shared-subscription QoS 2 delivery is interrupted by disconnect, the Server must complete it to the same Client on reconnect. |
| 5.0/MQTT-4.8.2-5 | 4.8.2 | MUST NOT | Yes | 1 | Mapped | If that Client's Session ends before reconnecting, the Server must not redirect the message to another shared subscriber. |
| 5.0/MQTT-4.8.2-6 | 4.8.2 | MUST | Yes | 1 | Mapped | If a shared subscriber rejects a PUBLISH with PUBACK/PUBREC 0x80 or above, the Server must drop it and not try other subscribers. |
| 5.0/MQTT-4.9.0-1 | 4.9 | MUST | Yes | 1 | Mapped | Initial send quota must be set to a non-zero value no larger than the peer's Receive Maximum. |
| 5.0/MQTT-4.9.0-2 | 4.9 | MUST NOT | Yes | 2 | Mapped | Send quota decrements per QoS>0 PUBLISH sent; at zero, no further QoS>0 PUBLISH may be sent. |
| 5.0/MQTT-4.9.0-3 | 4.9 | MUST | Yes | 2 | Mapped | Even with send quota at zero, Client and Server must keep processing and responding to all other packets. |
| 5.0/MQTT-4.12.0-1 | 4.12 | MUST | Yes | 1 | Mapped | If the Client's Authentication Method is unsupported, Server may send CONNACK 0x8C or 0x87 and must close the connection. |
| 5.0/MQTT-4.12.0-2 | 4.12 | MUST | Yes | 0 | Not yet mapped | An AUTH sent by the Server to request more authentication data must carry Reason Code 0x18 (Continue authentication). |
| 5.0/MQTT-4.12.0-3 | 4.12 | MUST | Yes | 0 | Not yet mapped | A Client's AUTH responding to a Server AUTH challenge must carry Reason Code 0x18 (Continue authentication). |
| 5.0/MQTT-4.12.0-4 | 4.12 | MUST | Yes | 0 | Not yet mapped | If the Server rejects authentication at any stage, it may send CONNACK 0x80 or above and must close the connection. |
| 5.0/MQTT-4.12.0-5 | 4.12 | MUST | Yes | 0 | Not yet mapped | If CONNECT had an Authentication Method, every AUTH and a successful CONNACK must carry the same Authentication Method value. |
| 5.0/MQTT-4.12.0-6 | 4.12 | MUST NOT | Yes | 2 | Mapped | If CONNECT had no Authentication Method, Server must not send AUTH and must not include Authentication Method in CONNACK. |
| 5.0/MQTT-4.12.0-7 | 4.12 | MUST NOT | Yes | 1 | Mapped | If CONNECT had no Authentication Method, the Client must not send AUTH; Server treats it as Protocol Error. |
| 5.0/MQTT-4.12.1-1 | 4.12.1 | MUST | Yes | 0 | Not yet mapped | A Client re-authenticating via AUTH 0x19 must use the same Authentication Method as the original connection authentication. |
| 5.0/MQTT-4.12.1-2 | 4.12.1 | MUST | Yes | 0 | Not yet mapped | If re-authentication fails, the peer should send DISCONNECT with a suitable Reason Code and must close the connection. |
| 5.0/MQTT-4.13.1-1 | 4.13.1 | MUST | Yes | 6 | Mapped | On detecting a Malformed Packet or Protocol Error with a specified Reason Code, the Server must close the Network Connection. |
| 5.0/MQTT-4.13.2-1 | 4.13.2 | MUST | Yes | 1 | Mapped | When a Reason Code of 0x80 or above applies, the Network Connection must be closed whether or not CONNACK/DISCONNECT was actually sent. |
| 5.0/MQTT-6.0.0-1 | 6 | MUST | Yes | 4 | Mapped | Over WebSocket, MQTT packets must travel in binary frames; receiving any other data frame type must close the connection. |
| 5.0/MQTT-6.0.0-2 | 6 | MUST NOT | Yes | 3 | Mapped | The WebSocket receiver must not assume MQTT packet boundaries coincide with frame boundaries; frames may hold partial or multiple packets. |
| 5.0/MQTT-6.0.0-4 | 6 | MUST | Yes | 2 | Mapped | The WebSocket subprotocol selected and returned by the Server must be "mqtt". |
Interoperability
Alongside requirement tests, the conformance suite includes an interoperability runner for the Eclipse Paho test suite and a smoke test with the Eclipse Mosquitto command-line clients. Published interoperability results for more client libraries are planned.
The Paho runner executes the upstream MQTT 3.1.1 and 5.0 client tests (37 tests) with an empty allowlist: every test
must pass. It currently pins a fork of
eclipse-paho/paho.mqtt.testing that adds one fix. Upstream's
MQTT 5.0 decoder rejects some valid SUBACK and UNSUBACK reason codes, such as 0x87 (Not authorized), which a broker
sends when an ACL refuses a subscription (issue #92).
The fix is proposed upstream in PR #93. Once it is
merged, the runner goes back to pinning upstream.