Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-os-example-mbed5-blinky by
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 41 of file MQTTPacket.h.
Field Documentation
unsigned char byte |
the whole byte
Definition at line 43 of file MQTTPacket.h.
unsigned int dup |
DUP flag bit.
Definition at line 48 of file MQTTPacket.h.
unsigned int qos |
QoS value, 0, 1 or 2.
Definition at line 49 of file MQTTPacket.h.
unsigned int retain |
retained flag bit
Definition at line 50 of file MQTTPacket.h.
unsigned int type |
message type nibble
Definition at line 47 of file MQTTPacket.h.
Generated on Wed Jul 13 2022 21:16:17 by
