Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings 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.
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.
Generated on Tue Jul 12 2022 19:02:39 by
1.7.2