pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol4Mqtt/MqttMsgParser.java
@@ -21,7 +21,7 @@ vo.orgTag = topicGrp[0] ; vo.protocol = topicGrp[1] ; vo.devId = topicGrp[2] ; vo.topic = topicGrp[3] ; vo.name = topicGrp[3] ; return vo ; } }else{ @@ -30,7 +30,7 @@ } public static String createPubTopic(MqttTopic tp) throws Exception { return tp.orgTag + "/" + tp.protocol + "/" + tp.devId + "/" + tp.topic ; return tp.orgTag + "/" + tp.protocol + "/" + tp.devId + "/" + tp.name; } public static MqttSubMsg parseSubMsg(MqttTopic subTopic, MqttMessage mqttMsg, MqttCallback callback) throws Exception {