我从mqtt.fx
成功连接到Live Objects,并将一些简单的帖子发送到dev / info,但如果我尝试发布到dev / data,我会收到错误。
我只是从手册中尝试一些简单的事情
发布时的错误是broker connection lost : resetting client
。
mqtt.fx
lof显示它已成功发布。
我只是从手册中尝试一些简单的事情:
2018-05-14 14:46:53,300 INFO --- BrokerConnectorController : onConnect
2018-05-14 14:46:53,305 INFO --- ScriptsController : Clear console.
2018-05-14 14:46:53,308 INFO --- MqttFX ClientModel : MqttClient with ID urn:lo:nsid:mqtt:MQTT_FX_Client assigned.
2018-05-14 14:46:58,671 INFO --- PublishController : publish
2018-05-14 14:46:58,674 INFO --- MqttFX ClientModel : attempt to add PublishTopic
2018-05-14 14:46:58,675 INFO --- MqttFX ClientModel : sucessfully published message {
"s": "urn:lo:nsid:mqtt:MQTT_FX_Client!mqtt",
"m" : "Model-1",
"v" : {
"counter": 32
},
"t" : ["Test"],
} to topic dev/data (QoS 0, Retained: false)
2018-05-14 14:46:58,814 INFO --- MqttFX ClientModel : Broker connection lost: Resetting client.
2018-05-14 14:46:58,858 INFO --- ScriptsController : Clear console.
2018-05-14 14:46:58,860 INFO --- ScriptsController : Clear console.