Pavle Radojkovic / mbed-mqtt
Embed: (wiki syntax)

« Back to documentation index

Connack Struct Reference

Connack Struct Reference

Data for a connack packet. More...

#include <MQTTGWPacket.h>

Data Fields

Header header
 MQTT header byte.
union {
   unsigned char   all
 all connack flags
flags
 connack flags byte
char rc
 connack return code
unsigned int reserved: 7
 message type nibble
bool sessionPresent: 1
 was a session found on the server?

Detailed Description

Data for a connack packet.

Definition at line 140 of file MQTTGWPacket.h.


Field Documentation

unsigned char all

all connack flags

Definition at line 145 of file MQTTGWPacket.h.

union { ... } flags

connack flags byte

MQTT header byte.

Definition at line 142 of file MQTTGWPacket.h.

char rc

connack return code

Definition at line 160 of file MQTTGWPacket.h.

unsigned int reserved

message type nibble

Definition at line 149 of file MQTTGWPacket.h.

was a session found on the server?

Definition at line 150 of file MQTTGWPacket.h.