AWS IoT Embedded C Device SDK
Data Fields
IoT_MQTT_Will_Options Struct Reference

Last Will and Testament Definition. More...

#include <aws_iot_mqtt_client.h>

Data Fields

char struct_id [4]
 The eyecatcher for this structure. must be MQTW.
 
char * pTopicName
 The LWT topic to which the LWT message will be published.
 
uint16_t topicNameLen
 The length of the LWT topic, 16 bit unsinged integer.
 
char * pMessage
 Message to be delivered as LWT.
 
uint16_t msgLen
 The length of the Message, 16 bit unsinged integer.
 
bool isRetained
 NOT supported. The retained flag for the LWT message (see MQTTAsync_message.retained)
 
QoS qos
 QoS of LWT message.
 

Detailed Description

Defining a type for the MQTT "Last Will and Testament" (LWT) parameters.

Note
Retained messages are NOT supported by the AWS IoT Service at the time of this SDK release.