AWS IoT Device SDK C: MQTT
MQTT 3.1.1 client library
Return to main page ↑
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

Last Will and Testament Definition.

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.

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