|
TuyaOS
|
定义了mqtt client创建需要的配置 更多...
#include <mqtt_client.h>
成员变量 | |
| size_t | cert_len |
| const char * | cert_pem |
| const char * | client_id |
| uint8_t | domain_num |
| char ** | domain_tbl |
| bool | enable_tls |
| const char * | password |
| int | port |
| MQ_DATA_RECV_CB | recv_cb |
| uint16_t | s_alive_time_s |
| uint16_t | server_port |
| char * | subscribe_topic |
| char * | url |
| const char * | username |
| uint8_t | wakeup_domain_num |
| const char ** | wakeup_domain_tbl |
| uint16_t | wakeup_serv_port |
定义了mqtt client创建需要的配置
| size_t mqtt_config::cert_len |
Length of the buffer pointed to by cert_pem. May be 0 for null-terminated pem
| const char* mqtt_config::cert_pem |
Pointer to certificate data in PEM or DER format for server verify (with SSL), default is NULL, not required to verify the server. PEM-format must have a terminating NULL-character. DER-format requires the length to be passed in cert_len.