天嵌二次封装库使用手册  V2.1.2
MQTTAsync_connectData结构体 参考

#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.h455 行定义.

类成员变量说明

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.h475 行定义.

int MQTTAsync_connectData::len

binary password length

在文件 MQTTAsync.h474 行定义.

char MQTTAsync_connectData::struct_id[4]

The eyecatcher for this structure. Will be MQCD.

在文件 MQTTAsync.h458 行定义.

int MQTTAsync_connectData::struct_version

The version number of this structure. Will be 0

在文件 MQTTAsync.h460 行定义.

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.h467 行定义.


该结构体的文档由以下文件生成: