From 917354ea70f7c159643f193f1e4e315d92692830 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Tue, 20 Apr 2021 23:12:07 +0800 Subject: [PATCH] update 3rdparty library version and configure parser test ok --- iotd/conf/conf.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/iotd/conf/conf.h b/iotd/conf/conf.h index 00427fd..b905f39 100644 --- a/iotd/conf/conf.h +++ b/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; -- Gitblit v1.9.1