This package includes the SharkSSL lite library and header files.

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

Embed: (wiki syntax)

« Back to documentation index

MqttCredentials Struct Reference

MqttCredentials Struct Reference
[MQTTLib]

Optional credentials used when calling function SharkMQTT_connect. More...

#include <SharkMQTT.h>

Data Fields

const char * username
 Optional User Name (utf-8).
const U8 * password
 Optional Password (binary).
U16 pwdlen
 You must provide a password length if 'password' is non NULL.

Detailed Description

Optional credentials used when calling function SharkMQTT_connect.

Definition at line 160 of file SharkMQTT.h.


Field Documentation

const U8* password

Optional Password (binary).

Set to NULL if not used. [MQTT-3.1.3.5]. If username is set to NULL, the password MUST be set to NULL [MQTT-3.1.2-22].

Definition at line 168 of file SharkMQTT.h.

U16 pwdlen

You must provide a password length if 'password' is non NULL.

Definition at line 170 of file SharkMQTT.h.

const char* username

Optional User Name (utf-8).

Set to NULL if not used. [MQTT-3.1.3.4]

Definition at line 163 of file SharkMQTT.h.