MQTT-C
Data Fields | Related Functions
mqtt_response_connack Struct Reference

A connection response datastructure. More...

#include <mqtt.h>

Data Fields

uint8_t session_present_flag
 Allows client and broker to check if they have a consistent view about whether there is already a stored session state.
 
enum MQTTConnackReturnCode return_code
 The return code of the connection request. More...
 

Related Functions

(Note that these are not member functions.)

ssize_t mqtt_unpack_connack_response (struct mqtt_response *mqtt_response, const uint8_t *buf)
 Deserialize a CONNACK response from buf. More...
 

Detailed Description

A connection response datastructure.

See also
MQTT v3.1.1: CONNACK - Acknowledgement connection response.

Field Documentation

◆ return_code

enum MQTTConnackReturnCode mqtt_response_connack::return_code

The return code of the connection request.

See also
MQTTConnackReturnCode

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