The Cayenne MQTT mbed Library provides functions to easily connect to the Cayenne IoT project builder.
Dependents: Cayenne-ESP8266Interface Cayenne-WIZnet_Library Cayenne-WIZnetInterface Cayenne-X-NUCLEO-IDW01M1 ... more
MQTTHeader Union Reference
Bitfields for the MQTT header byte. More...
#include <MQTTPacket.h>
Data Fields | |
unsigned char | byte |
the whole byte | |
unsigned int | type: 4 |
message type nibble | |
unsigned int | dup: 1 |
DUP flag bit. | |
unsigned int | qos: 2 |
QoS value, 0, 1 or 2. | |
unsigned int | retain: 1 |
retained flag bit |
Detailed Description
Bitfields for the MQTT header byte.
Definition at line 55 of file MQTTPacket.h.
Field Documentation
unsigned char byte |
the whole byte
Definition at line 57 of file MQTTPacket.h.
unsigned int dup |
DUP flag bit.
Definition at line 62 of file MQTTPacket.h.
unsigned int qos |
QoS value, 0, 1 or 2.
Definition at line 63 of file MQTTPacket.h.
unsigned int retain |
retained flag bit
Definition at line 64 of file MQTTPacket.h.
unsigned int type |
message type nibble
Definition at line 61 of file MQTTPacket.h.
Generated on Wed Jul 13 2022 15:49:28 by 1.7.2