This package includes the SharkSSL lite library and header files.

Dependents:   WebSocket-Client-Example SharkMQ-LED-Demo

Embed: (wiki syntax)

« Back to documentation index

MqttWillMsg Struct Reference

MqttWillMsg Struct Reference
[MQTTLib]

Optional MQTT Will Message; used when calling function SharkMQTT_connect. More...

#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.

Detailed Description

Optional MQTT Will Message; used when calling function SharkMQTT_connect.

Definition at line 145 of file SharkMQTT.h.


Field Documentation

const U8* message

Will message (binary). [MQTT-3.1.3.3]

Definition at line 148 of file SharkMQTT.h.

U16 msgLen

Will message length

Definition at line 149 of file SharkMQTT.h.

U8 qos

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

Definition at line 150 of file SharkMQTT.h.

BaBool retain

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

[MQTT-3.1.2.7] Will Retain.

Definition at line 154 of file SharkMQTT.h.

const char* topic

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

Definition at line 147 of file SharkMQTT.h.