提交 fcbb4ee4 authored 作者: blu's avatar blu

nop

上级 326e3797
...@@ -85,11 +85,7 @@ json make_online_msg(string sn) ...@@ -85,11 +85,7 @@ json make_online_msg(string sn)
void on_connlost(void *context, char *cause) void on_connlost(void *context, char *cause)
{ {
MqttHelper *self = (MqttHelper *) context; MqttHelper *self = (MqttHelper *) context;
int rc = -1;
spdlog::error("mqtt connection lost: {}", cause? cause: "unkown reason"); spdlog::error("mqtt connection lost: {}", cause? cause: "unkown reason");
// MqttHelper::AsyncResult as;
// as.state = MqttHelper::State::None;
// self->state.set_value(as);
} }
int on_msgarrvd(void *context, char *topic, int topicLen, MQTTAsync_message *message) int on_msgarrvd(void *context, char *topic, int topicLen, MQTTAsync_message *message)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论