Table of Contents

Enum MqttMsgState

Namespace
nanoFramework.M2Mqtt.Messages
Assembly
nanoFramework.M2Mqtt.dll

MQTT message state

public enum MqttMsgState

Fields

QueuedQos0 = 0

QOS = 0, Message queued

QueuedQos1 = 1

QOS = 1, Message queued

QueuedQos2 = 2

QOS = 2, Message queued

SendPuback = 10

QOS = 1, PUBLISH received, send PUBACK

SendPubcomp = 9

QOS = 2, end second phase handshake send PUBCOMP

SendPubrec = 7

QOS = 2, start first phase handshake send PUBREC

SendPubrel = 8

QOS = 2, start second phase handshake send PUBREL

SendSubscribe = 11

Send SUBSCRIBE message

SendUnsubscribe = 12

Send UNSUBSCRIBE message

WaitForAuthentication = 15

After CONNECT if Authentication Method is not empty, v5.0 only

WaitForPuback = 3

QOS = 1, PUBLISH sent, wait for PUBACK

WaitForPubcomp = 6

QOS = 2, PUBREL sent, wait for PUBCOMP

WaitForPubrec = 4

QOS = 2, PUBLISH sent, wait for PUBREC

WaitForPubrel = 5

QOS = 2, PUBREC sent, wait for PUBREL

WaitForSuback = 13

(QOS = 1), SUBSCRIBE sent, wait for SUBACK

WaitForUnsuback = 14

(QOS = 1), UNSUBSCRIBE sent, wait for UNSUBACK