天嵌二次封装库使用手册
V2.1.2
|
#include <MQTTAsync.h>
Public 属性 | |
char | struct_id [4] |
int | struct_version |
const char * | username |
struct { | |
int len | |
const void * data | |
} | binarypwd |
The connect options that can be updated before an automatic reconnect.
在文件 MQTTAsync.h 第 455 行定义.
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.
const void* MQTTAsync_connectData::data |
binary password data
在文件 MQTTAsync.h 第 475 行定义.
int MQTTAsync_connectData::len |
binary password length
在文件 MQTTAsync.h 第 474 行定义.
char MQTTAsync_connectData::struct_id[4] |
The eyecatcher for this structure. Will be MQCD.
在文件 MQTTAsync.h 第 458 行定义.
int MQTTAsync_connectData::struct_version |
The version number of this structure. Will be 0
在文件 MQTTAsync.h 第 460 行定义.
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.
在文件 MQTTAsync.h 第 467 行定义.