Skip to main content

PacketType Enum

NuGet: GHIElectronics.TinyCLR.Networking.Mqtt
Assembly: GHIElectronics.TinyCLR.Networking.Mqtt
Namespace: GHIElectronics.TinyCLR.Networking.Mqtt

Identifies the type of an MQTT control packet.

public enum PacketType

Fields

NameValueDescription
Connect1Client request to connect to the broker.
ConnAck2Broker acknowledgement of a connect request.
Publish3Message published to a topic.
PubAck4Acknowledgement of a QoS 1 publish.
Pubrec5First QoS 2 publish acknowledgement (publish received).
Pubrel6Second QoS 2 publish acknowledgement (publish release).
PubComp7Final QoS 2 publish acknowledgement (publish complete).
Subscribe8Client request to subscribe to one or more topics.
Suback9Broker acknowledgement of a subscribe request.
Unsubscribe10Client request to unsubscribe from one or more topics.
Unsuback11Broker acknowledgement of an unsubscribe request.
PingReq12Keep-alive ping request sent to the broker.
PingResp13Keep-alive ping response from the broker.
Disconnect14Client notification that it is disconnecting.