luat_soc_sdk_2024 V1.0
luat_mqtt_connopts结构体 参考

设置MQTT服务端服务器信息、加密信息 更多...

#include <luat_mqtt.h>

成员变量

const char * host
 
uint16_t port
 
uint8_t is_tls
 
uint8_t is_ipv6
 
uint8_t verify
 
const char * server_cert
 
size_t server_cert_len
 
const char * client_cert
 
size_t client_cert_len
 
const char * client_key
 
size_t client_key_len
 
const char * client_password
 
size_t client_password_len
 

详细描述

设置MQTT服务端服务器信息、加密信息

在文件 luat_mqtt.h 第 69 行定义.

结构体成员变量说明

◆ client_cert

const char* client_cert

在文件 luat_mqtt.h 第 78 行定义.

◆ client_cert_len

size_t client_cert_len

在文件 luat_mqtt.h 第 79 行定义.

◆ client_key

const char* client_key

在文件 luat_mqtt.h 第 80 行定义.

◆ client_key_len

size_t client_key_len

在文件 luat_mqtt.h 第 81 行定义.

◆ client_password

const char* client_password

在文件 luat_mqtt.h 第 82 行定义.

◆ client_password_len

size_t client_password_len

在文件 luat_mqtt.h 第 83 行定义.

◆ host

const char* host

服务器HOST

在文件 luat_mqtt.h 第 71 行定义.

◆ is_ipv6

uint8_t is_ipv6

在文件 luat_mqtt.h 第 74 行定义.

◆ is_tls

uint8_t is_tls

是否采用tls加密

在文件 luat_mqtt.h 第 73 行定义.

◆ port

uint16_t port

服务器端口

在文件 luat_mqtt.h 第 72 行定义.

◆ server_cert

const char* server_cert

在文件 luat_mqtt.h 第 76 行定义.

◆ server_cert_len

size_t server_cert_len

在文件 luat_mqtt.h 第 77 行定义.

◆ verify

uint8_t verify

在文件 luat_mqtt.h 第 75 行定义.


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