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.
Header Union Reference
Bitfields for the MQTT header byte. More...
#include <MQTTGWPacket.h>
Data Fields | |
| char | byte |
| the whole byte | |
| unsigned int | type: 4 |
| message type nibble | |
| bool | dup: 1 |
| DUP flag bit. | |
| unsigned int | qos: 2 |
| QoS value, 0, 1 or 2. | |
| bool | retain: 1 |
| retained flag bit | |
Detailed Description
Bitfields for the MQTT header byte.
Definition at line 43 of file MQTTGWPacket.h.
Field Documentation
| char byte |
the whole byte
Definition at line 45 of file MQTTGWPacket.h.
| bool dup |
DUP flag bit.
Definition at line 50 of file MQTTGWPacket.h.
| unsigned int qos |
QoS value, 0, 1 or 2.
Definition at line 51 of file MQTTGWPacket.h.
| bool retain |
retained flag bit
Definition at line 52 of file MQTTGWPacket.h.
| unsigned int type |
message type nibble
Definition at line 49 of file MQTTGWPacket.h.
Generated on Mon Feb 13 2023 09:41:23 by
1.7.2