| Value | Meaning |
|---|---|
| queuedQos0 | QOS = 0, Message queued |
| queuedQos1 | QOS = 1, Message queued |
| queuedQos2 | QOS = 2, Message queued |
| waitForPuback | QOS = 1, PUBLISH sent, wait for PUBACK |
| waitForPubrec | QOS = 2, PUBLISH sent, wait for PUBREC |
| waitForPubrel | QOS = 2, PUBREC sent, wait for PUBREL |
| waitForPubcomp | QOS = 2, PUBREL sent, wait for PUBCOMP |
| sendPubrec | QOS = 2, start first phase handshake send PUBREC |
| sendPubrel | QOS = 2, start second phase handshake send PUBREL |
| sendPubcomp | QOS = 2, end second phase handshake send PUBCOMP |
| sendPuback | QOS = 1, PUBLISH received, send PUBACK |
| waitForSuback | (QOS = 1), SUBSCRIBE sent, wait for SUBACK |
| waitForUnsuback | (QOS = 1), UNSUBSCRIBE sent, wait for UNSUBACK |
| any | for search purposes |
MQTT packet state