PacketState

MQTT packet state

Values

ValueMeaning
queuedQos0

QOS = 0, Publish message queued

queuedQos1

QOS = 1, Publish message queued

queuedQos2

QOS = 2, Publish 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

Meta