![]() |
MQTT C Client Libraries Internals
|
The connect options that can be updated before an automatic reconnect. More...
#include <MQTTAsync.h>
Data Fields | ||
char | struct_id [4] | |
The eyecatcher for this structure. | ||
int | struct_version | |
The version number of this structure. | ||
const char * | username | |
MQTT servers that support the MQTT v3.1 protocol provide authentication and authorisation by user name and password. | ||
struct { | ||
int len | ||
binary password length | ||
const void * data | ||
binary password data | ||
} | binarypwd | |
The password parameter of the MQTT authentication. | ||
The connect options that can be updated before an automatic reconnect.
struct { ... } MQTTAsync_connectData::binarypwd |
The password parameter of the MQTT authentication.
Set data to NULL to remove. To change, allocate new storage with ::MQTTAsync_allocate - this will then be free later by the library.
char MQTTAsync_connectData::struct_id[4] |
The eyecatcher for this structure.
Will be MQCD.
int MQTTAsync_connectData::struct_version |
The version number of this structure.
Will be 0
const char* MQTTAsync_connectData::username |
MQTT servers that support the MQTT v3.1 protocol provide authentication and authorisation by user name and password.
This is the user name parameter. Set data to NULL to remove. To change, allocate new storage with ::MQTTAsync_allocate - this will then be free later by the library.