Skip to content

Commit

Permalink
2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jflamy committed Mar 18, 2024
1 parent 5b3a0cb commit de163ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>app.owlcms.jfirmata</groupId>
<artifactId>owlcms-firmata</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>

<properties>
<windowsVersion>${env.VERSION}</windowsVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.nio.charset.StandardCharsets;

import org.eclipse.paho.client.mqttv3.MqttAsyncClient;
import org.eclipse.paho.client.mqttv3.MqttClient;
import org.eclipse.paho.client.mqttv3.MqttConnectOptions;
import org.eclipse.paho.client.mqttv3.MqttException;
import org.eclipse.paho.client.mqttv3.MqttMessage;
Expand Down Expand Up @@ -72,7 +71,7 @@ public MqttAsyncClient createMQTTClient(String fopName) throws MqttException {
Main.getStartupLogger().info("connecting to MQTT {}{}:{}", protocol, server, port);

client = new MqttAsyncClient(protocol + server + ":" + port,
fopName + "_" + MqttClient.generateClientId(), // ClientId
fopName + "_f_" + System.currentTimeMillis(), // ClientId
new MemoryPersistence()); // Persistence
return client;
}
Expand Down

0 comments on commit de163ab

Please sign in to comment.