TuyaOS
|
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
BOOL_T mqtt_subscribe_t::auto_resub |
whether or not topics need re-subscribe when mqtt broker connected
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
BYTE_T mqtt_subscribe_t::cnt |
count of topics to subscribe
CHAR_T** mqtt_subscribe_t::topics |
topics to subscribe