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. More...
 
uint8_t payload [MQTT_CLIENT_MAX_WILL_PAYLOAD_LEN]
 Will message payload. More...
 
size_t length
 Length of the Will message payload. More...
 
MqttQosLevel qos
 QoS level to be used when publishing the Will message. More...
 
bool_t retain
 Specifies if the Will message is to be retained. More...
 

Detailed Description

Will message.

Definition at line 263 of file mqtt_client.h.

Field Documentation

◆ length

size_t length

Length of the Will message payload.

Definition at line 267 of file mqtt_client.h.

◆ payload

Will message payload.

Definition at line 266 of file mqtt_client.h.

◆ qos

QoS level to be used when publishing the Will message.

Definition at line 268 of file mqtt_client.h.

◆ retain

bool_t retain

Specifies if the Will message is to be retained.

Definition at line 269 of file mqtt_client.h.

◆ topic

Will topic name.

Definition at line 265 of file mqtt_client.h.


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