1、增加中南院MQTT推送

This commit is contained in:
weidong 2025-06-20 09:28:10 +08:00
parent e33ff7aa71
commit 6495661e1f

View File

@ -46,7 +46,7 @@ public class ZNYMQTTForwarder extends Forwarder {
void registerMe() throws MqttException {
init(FORWARDER_NAME, "MQTT "+brokerUrl,4,FWD_DEVICE_ALIAS_NAME,30);
mqttClient = new MQTTClient(brokerUrl, username, password,clientid);
//mqttClient.connect();
mqttClient.connect();
}
/**