|
AWS IoT Embedded C Device SDK
|
#include <aws_iot_mqtt_client_common_internal.h>
Data Fields | |
| unsigned char | byte |
| struct { | |
| unsigned int retain: 1 | |
| unsigned int qos: 2 | |
| unsigned int dup: 1 | |
| unsigned int type: 4 | |
| } | bits |
Bitfields for the MQTT header byte.
| unsigned char MQTTHeader::byte |
the whole byte
| unsigned int MQTTHeader::dup |
DUP flag bit
| unsigned int MQTTHeader::qos |
QoS value, 0, 1 or 2
| unsigned int MQTTHeader::retain |
retained flag bit
| unsigned int MQTTHeader::type |
message type nibble
1.8.10