Guo Wenxue
2019-06-26 d5ad51c46446e261d964515ca3a6bddb8559e014
update mqttd, modify default Qos to 0
2 files modified
5 ■■■■■ changed files
mqttd/etc/conf.h 4 ●●●● patch | view | raw | blame | history
mqttd/hal/hal.h 1 ●●●● patch | view | raw | blame | history
mqttd/etc/conf.h
@@ -19,8 +19,8 @@
#define DEF_BROKER_USERNAME        "lingyun"
#define DEF_BROKER_PASSWD          "lingyun-emb"
#define DEF_PUBQOS                 2
#define DEF_PUBINTERVAL            600 /* 10 minitues */
#define DEF_PUBQOS                 0
#define DEF_PUBINTERVAL            3 /* 3 seconds */
#define DEF_SUBQOS                 0
mqttd/hal/hal.h
@@ -17,6 +17,7 @@
#include "lylib/logger.h"
#include "led.h"
#include "relay.h"
#include "ds18b20.h"
#include "sht20.h"