MQTT C Client Libraries Internals: Connack Struct Reference

| MQTT C Client Libraries Internals

Data Fields
Connack Struct Reference

Data for a connack packet. More...

`#include <MQTTPacket.h>`

Collaboration diagram for Connack:
[legend]

## Data Fields
Header | header
| MQTT header byte.
union {
unsigned char all
| all connack flags
struct {
bool sessionPresent: 1
| was a session found on the server?
unsigned int reserved: 7
| message type nibble
} bits
} | flags
| connack flags byte
unsigned char | rc
| connack reason code
unsigned int | MQTTVersion
| the version of MQTT
MQTTProperties | properties
| MQTT 5.0 properties. More...

## Detailed Description

Data for a connack packet.

## Field Documentation

## ◆ properties

MQTTProperties Connack::properties

MQTT 5.0 properties.

Not used for MQTT < 5.0

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

- MQTTPacket.h