TuyaOS
成员变量
mqtt_subscribe_t结构体 参考

Definition of mqtt subscribe 更多...

#include <tuya_svc_mqtt_client.h>

成员变量

BOOL_T auto_resub
 
CB_MQTT_DATA_RECV cb_data_recv
 
BYTE_T cnt
 
CHAR_T ** topics
 

详细描述

Definition of mqtt subscribe

结构体成员变量说明

◆ auto_resub

BOOL_T mqtt_subscribe_t::auto_resub

whether or not topics need re-subscribe when mqtt broker connected

◆ cb_data_recv

CB_MQTT_DATA_RECV mqtt_subscribe_t::cb_data_recv

callback when MQTT msgs recv. If NULL, msgs will transfer to default cb of MQTT client

◆ cnt

BYTE_T mqtt_subscribe_t::cnt

count of topics to subscribe

◆ topics

CHAR_T** mqtt_subscribe_t::topics

topics to subscribe


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