iotd/conf/conf.h
@@ -43,13 +43,15 @@ int keepalive; /* MQTT broker send PING message to subsciber/publisher keepalive timeout<seconds> */ /* Subscriber settings */ int sub_enable; /* Subscriber enable or not */ char subTopic[256]; /* Subscriber topic */ int subQos; /* Subscriber Qos */ /* Publisher settings */ int pub_enable; /* Publisher enable or not */ char pubTopic[256]; /* Publisher topic */ int pubQos; /* Publisher Qos */ int interval; /* publish interval */ int interval; /* Publish interval */ } mqtt_ctx_t;