this is fork and i will modify for STM32

Fork of AWS-test by Pierre-Marie Ancèle

Embed: (wiki syntax)

« Back to documentation index

MQTTHeader Union Reference

MQTTHeader Union Reference

Bitfields for the MQTT header byte. More...

#include <aws_iot_mqtt_client_common_internal.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 75 of file aws_iot_mqtt_client_common_internal.h.


Field Documentation

unsigned char byte

the whole byte

Definition at line 76 of file aws_iot_mqtt_client_common_internal.h.

unsigned int dup

DUP flag bit.

Definition at line 80 of file aws_iot_mqtt_client_common_internal.h.

unsigned int qos

QoS value, 0, 1 or 2.

Definition at line 81 of file aws_iot_mqtt_client_common_internal.h.

unsigned int retain

retained flag bit

Definition at line 82 of file aws_iot_mqtt_client_common_internal.h.

unsigned int type

message type nibble

Definition at line 79 of file aws_iot_mqtt_client_common_internal.h.