Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

MqttClientWillMessage Struct Reference

MqttClientWillMessage Struct Reference

Will message. More...

#include <mqtt_client.h>

Data Fields

char_t topic [MQTT_CLIENT_MAX_WILL_TOPIC_LEN+1]
 Will topic name.
uint8_t payload [MQTT_CLIENT_MAX_WILL_PAYLOAD_LEN]
 Will message payload.
size_t length
 Length of the Will message payload.
MqttQosLevel qos
 QoS level to be used when publishing the Will message.
bool_t retain
 Specifies if the Will message is to be retained.

Detailed Description

Will message.

Definition at line 252 of file mqtt_client.h.


Field Documentation

size_t length

Length of the Will message payload.

Definition at line 256 of file mqtt_client.h.

uint8_t payload[MQTT_CLIENT_MAX_WILL_PAYLOAD_LEN]

Will message payload.

Definition at line 255 of file mqtt_client.h.

QoS level to be used when publishing the Will message.

Definition at line 257 of file mqtt_client.h.

bool_t retain

Specifies if the Will message is to be retained.

Definition at line 258 of file mqtt_client.h.

char_t topic[MQTT_CLIENT_MAX_WILL_TOPIC_LEN+1]

Will topic name.

Definition at line 254 of file mqtt_client.h.