提交 279ce782 authored 作者: blu's avatar blu

nop

上级 5d8f8d00
......@@ -324,11 +324,11 @@ public:
if(MqttMgr::insts.count(key) == 0) {
if(topic_lastwill.empty()) {
// TODO:
topic_lastwill = "";
topic_lastwill = "mqttc/lastiwill/"+devsn;;
}
if(topic_report.empty()) {
topic_report = "";
topic_report = "mqttc/report/" +devsn;
}
auto inst = new MqttHelper(mqtt_url, devsn, topic_lastwill, topic_report);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论