MQTT-C
Data Fields
mqtt_fixed_header Struct Reference

The fixed header of an MQTT control packet. More...

#include <mqtt.h>

Data Fields

enum MQTTControlPacketType control_type
 
uint32_t control_flags: 4
 
uint32_t remaining_length
 

Detailed Description

The fixed header of an MQTT control packet.

See also
MQTT v3.1.1: Fixed Header

Field Documentation

◆ control_flags

uint32_t mqtt_fixed_header::control_flags

The packets control flags.

◆ control_type

enum MQTTControlPacketType mqtt_fixed_header::control_type

The type of packet.

◆ remaining_length

uint32_t mqtt_fixed_header::remaining_length

The remaining size of the packet in bytes (i.e. the size of variable header and payload).


The documentation for this struct was generated from the following file: