Analog Devices Wi-Fi Software Reference Manual  Release 1.0.0
Public Attributes | List of all members
MQTTPacket_willOptions Struct Reference

#include <MQTTConnect.h>

Public Attributes

char struct_id [4]
 
int struct_version
 
MQTTString topicName
 
MQTTString message
 
unsigned char retained
 
char qos
 

Detailed Description

Defines the MQTT "Last Will and Testament" (LWT) settings for the connect packet.

Member Data Documentation

§ message

MQTTString MQTTPacket_willOptions::message

The LWT payload.

§ qos

char MQTTPacket_willOptions::qos

The quality of service setting for the LWT message (see MQTTAsync_message.qos and qos).

§ retained

unsigned char MQTTPacket_willOptions::retained

The retained flag for the LWT message (see MQTTAsync_message.retained).

§ struct_id

char MQTTPacket_willOptions::struct_id[4]

The eyecatcher for this structure. must be MQTW.

§ struct_version

int MQTTPacket_willOptions::struct_version

The version number of this structure. Must be 0

§ topicName

MQTTString MQTTPacket_willOptions::topicName

The LWT topic to which the LWT message will be published.


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