SNode.C
Loading...
Searching...
No Matches
ControlPacket.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  iot::mqtt::ControlPacket
 

Namespaces

namespace  iot
 
namespace  iot::mqtt
 

Macros

#define MQTT_RESERVED_00   0x00
 
#define MQTT_CONNECT   0x01
 
#define MQTT_CONNACK   0x02
 
#define MQTT_PUBLISH   0x03
 
#define MQTT_PUBACK   0x04
 
#define MQTT_PUBREC   0x05
 
#define MQTT_PUBREL   0x06
 
#define MQTT_PUBCOMP   0x07
 
#define MQTT_SUBSCRIBE   0x08
 
#define MQTT_SUBACK   0x09
 
#define MQTT_UNSUBSCRIBE   0x0A
 
#define MQTT_UNSUBACK   0x0B
 
#define MQTT_PINGREQ   0x0C
 
#define MQTT_PINGRESP   0x0D
 
#define MQTT_DISCONNECT   0x0E
 
#define MQTT_RESERVED_0F   0x0F
 
#define MQTT_CONNECT_FLAGS   0x00
 
#define MQTT_CONNACK_FLAGS   0x00
 
#define MQTT_PUBACK_FLAGS   0x00
 
#define MQTT_PUBREC_FLAGS   0x00
 
#define MQTT_PUBREL_FLAGS   0x02
 
#define MQTT_PUBCOMP_FLAGS   0x00
 
#define MQTT_SUBSCRIBE_FLAGS   0x02
 
#define MQTT_SUBACK_FLAGS   0x00
 
#define MQTT_UNSUBSCRIBE_FLAGS   0x02
 
#define MQTT_UNSUBACK_FLAGS   0x00
 
#define MQTT_PINGREQ_FLAGS   0x00
 
#define MQTT_PINGRESP_FLAGS   0x00
 
#define MQTT_DISCONNECT_FLAGS   0x00
 

Macro Definition Documentation

◆ MQTT_CONNACK

#define MQTT_CONNACK   0x02

Definition at line 33 of file ControlPacket.h.

◆ MQTT_CONNACK_FLAGS

#define MQTT_CONNACK_FLAGS   0x00

Definition at line 50 of file ControlPacket.h.

◆ MQTT_CONNECT

#define MQTT_CONNECT   0x01

Definition at line 32 of file ControlPacket.h.

◆ MQTT_CONNECT_FLAGS

#define MQTT_CONNECT_FLAGS   0x00

Definition at line 49 of file ControlPacket.h.

◆ MQTT_DISCONNECT

#define MQTT_DISCONNECT   0x0E

Definition at line 45 of file ControlPacket.h.

◆ MQTT_DISCONNECT_FLAGS

#define MQTT_DISCONNECT_FLAGS   0x00

Definition at line 62 of file ControlPacket.h.

◆ MQTT_PINGREQ

#define MQTT_PINGREQ   0x0C

Definition at line 43 of file ControlPacket.h.

◆ MQTT_PINGREQ_FLAGS

#define MQTT_PINGREQ_FLAGS   0x00

Definition at line 60 of file ControlPacket.h.

◆ MQTT_PINGRESP

#define MQTT_PINGRESP   0x0D

Definition at line 44 of file ControlPacket.h.

◆ MQTT_PINGRESP_FLAGS

#define MQTT_PINGRESP_FLAGS   0x00

Definition at line 61 of file ControlPacket.h.

◆ MQTT_PUBACK

#define MQTT_PUBACK   0x04

Definition at line 35 of file ControlPacket.h.

◆ MQTT_PUBACK_FLAGS

#define MQTT_PUBACK_FLAGS   0x00

Definition at line 52 of file ControlPacket.h.

◆ MQTT_PUBCOMP

#define MQTT_PUBCOMP   0x07

Definition at line 38 of file ControlPacket.h.

◆ MQTT_PUBCOMP_FLAGS

#define MQTT_PUBCOMP_FLAGS   0x00

Definition at line 55 of file ControlPacket.h.

◆ MQTT_PUBLISH

#define MQTT_PUBLISH   0x03

Definition at line 34 of file ControlPacket.h.

◆ MQTT_PUBREC

#define MQTT_PUBREC   0x05

Definition at line 36 of file ControlPacket.h.

◆ MQTT_PUBREC_FLAGS

#define MQTT_PUBREC_FLAGS   0x00

Definition at line 53 of file ControlPacket.h.

◆ MQTT_PUBREL

#define MQTT_PUBREL   0x06

Definition at line 37 of file ControlPacket.h.

◆ MQTT_PUBREL_FLAGS

#define MQTT_PUBREL_FLAGS   0x02

Definition at line 54 of file ControlPacket.h.

◆ MQTT_RESERVED_00

#define MQTT_RESERVED_00   0x00

Definition at line 31 of file ControlPacket.h.

◆ MQTT_RESERVED_0F

#define MQTT_RESERVED_0F   0x0F

Definition at line 46 of file ControlPacket.h.

◆ MQTT_SUBACK

#define MQTT_SUBACK   0x09

Definition at line 40 of file ControlPacket.h.

◆ MQTT_SUBACK_FLAGS

#define MQTT_SUBACK_FLAGS   0x00

Definition at line 57 of file ControlPacket.h.

◆ MQTT_SUBSCRIBE

#define MQTT_SUBSCRIBE   0x08

Definition at line 39 of file ControlPacket.h.

◆ MQTT_SUBSCRIBE_FLAGS

#define MQTT_SUBSCRIBE_FLAGS   0x02

Definition at line 56 of file ControlPacket.h.

◆ MQTT_UNSUBACK

#define MQTT_UNSUBACK   0x0B

Definition at line 42 of file ControlPacket.h.

◆ MQTT_UNSUBACK_FLAGS

#define MQTT_UNSUBACK_FLAGS   0x00

Definition at line 59 of file ControlPacket.h.

◆ MQTT_UNSUBSCRIBE

#define MQTT_UNSUBSCRIBE   0x0A

Definition at line 41 of file ControlPacket.h.

◆ MQTT_UNSUBSCRIBE_FLAGS

#define MQTT_UNSUBSCRIBE_FLAGS   0x02

Definition at line 58 of file ControlPacket.h.