SharkSSL™ Embedded SSL/TLS Stack
MqttWillMsg Struct Reference

Detailed Description

Optional MQTT Will Message; used when calling function SharkMQTT_connect.

#include <SharkMQTT.h>

Data Fields

const char * topic
 
const U8 * message
 
U16 msgLen
 
U8 qos
 
BaBool retain
 Specifies if the Will Message is to be Retained when it is published. More...
 

Field Documentation

◆ message

const U8* MqttWillMsg::message

Will message (binary). [MQTT-3.1.3.3]

◆ msgLen

U16 MqttWillMsg::msgLen

Will message length

◆ qos

U8 MqttWillMsg::qos

Will QoS: 0, 1, or 2. [MQTT-3.1.2.6]

◆ retain

BaBool MqttWillMsg::retain

Specifies if the Will Message is to be Retained when it is published.

[MQTT-3.1.2.7] Will Retain.

◆ topic

const char* MqttWillMsg::topic

Will topic (utf-8). [MQTT-3.1.3.2]