this is fork and i will modify for STM32

Fork of AWS-test by Pierre-Marie Ancèle

Embed: (wiki syntax)

« Back to documentation index

IoT_MQTT_Will_Options Struct Reference

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.

Definition at line 112 of file aws_iot_mqtt_client.h.


Field Documentation

bool isRetained

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

Definition at line 118 of file aws_iot_mqtt_client.h.

uint16_t msgLen

The length of the Message, 16 bit unsinged integer.

Definition at line 117 of file aws_iot_mqtt_client.h.

char* pMessage

Message to be delivered as LWT.

Definition at line 116 of file aws_iot_mqtt_client.h.

char* pTopicName

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

Definition at line 114 of file aws_iot_mqtt_client.h.

QoS of LWT message.

Definition at line 119 of file aws_iot_mqtt_client.h.

char struct_id[4]

The eyecatcher for this structure. must be MQTW.

Definition at line 113 of file aws_iot_mqtt_client.h.

uint16_t topicNameLen

The length of the LWT topic, 16 bit unsinged integer.

Definition at line 115 of file aws_iot_mqtt_client.h.