Microchip® Advanced Software Framework

MQTTMessage.h File Reference

Definition of Messages for the MQTT Client.

Data Structures

struct  MQTTMessage
 

Typedefs

typedef enum msgTypes MessageTypes
 
typedef enum QoS QoS
 

Enumerations

enum  msgTypes {
  CONNECT = 1,
  CONNACK,
  PUBLISH,
  PUBACK,
  PUBREC,
  PUBREL,
  PUBCOMP,
  SUBSCRIBE,
  SUBACK,
  UNSUBSCRIBE,
  UNSUBACK,
  PINGREQ,
  PINGRESP,
  DISCONNECT,
  UNKNOWN = -1,
  CONNECT = 1,
  CONNACK = 2,
  PUBLISH = 3,
  PUBACK = 4,
  PUBREC = 5,
  PUBREL = 6,
  PUBCOMP = 7,
  SUBSCRIBE = 8,
  SUBACK = 9,
  UNSUBSCRIBE = 10,
  UNSUBACK = 11,
  PINGREQ = 12,
  PINGRESP = 13,
  DISCONNECT = 14
}
 
enum  QoS {
  QOS0,
  QOS1,
  QOS2,
  QOS0 = 0,
  QOS1 = 1,
  QOS2 = 2
}
 

typedef enum msgTypes MessageTypes
typedef enum QoS QoS

enum msgTypes
Enumerator
CONNECT 
CONNACK 
PUBLISH 
PUBACK 
PUBREC 
PUBREL 
PUBCOMP 
SUBSCRIBE 
SUBACK 
UNSUBSCRIBE 
UNSUBACK 
PINGREQ 
PINGRESP 
DISCONNECT 
UNKNOWN 
CONNECT 
CONNACK 
PUBLISH 
PUBACK 
PUBREC 
PUBREL 
PUBCOMP 
SUBSCRIBE 
SUBACK 
UNSUBSCRIBE 
UNSUBACK 
PINGREQ 
PINGRESP 
DISCONNECT 
enum QoS
Enumerator
QOS0 
QOS1 
QOS2 
QOS0 
QOS1 
QOS2