guowenxue
2021-04-20 917354ea70f7c159643f193f1e4e315d92692830
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;