Message type (Control packet types).

Enumerator
MYQTT_CONNECT 

Client request to connect to Server.

MYQTT_CONNACK 

Connect acknowledgment.

MYQTT_PUBLISH 

Publish message.

MYQTT_PUBACK 

Publish acknowledgment.

MYQTT_PUBREC 

Publish received (assured delivery part 1).

MYQTT_PUBREL 

Publish release (assured delivery part 2).

MYQTT_PUBCOMP 

Publish complete (assured delivery part 3).

MYQTT_SUBSCRIBE 

Client subscribe request.

MYQTT_SUBACK 

Subscribe acknowledgment.

MYQTT_UNSUBSCRIBE 

Unsubscribe request.

MYQTT_UNSUBACK 

Unsubscribe acknowledgment.

MYQTT_PINGREQ 

PING request from client.

MYQTT_PINGRESP 

PING response from server.

MYQTT_DISCONNECT 

Client is disconnecting.