Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Increased max reconnection attempt count

Rainer Hitzd7d92c873d04
diff --git a/agent/src/main/java/org/openremote/agent/protocol/bluetooth/mesh/BluetoothMeshProxyStateMachine.java b/agent/src/main/java/org/openremote/agent/protocol/bluetooth/mesh/BluetoothMeshProxyStateMachine.java
index 0c2663d51..44620988b 100644
--- a/agent/src/main/java/org/openremote/agent/protocol/bluetooth/mesh/BluetoothMeshProxyStateMachine.java
+++ b/agent/src/main/java/org/openremote/agent/protocol/bluetooth/mesh/BluetoothMeshProxyStateMachine.java
@@ -45,7 +45,7 @@ public class BluetoothMeshProxyStateMachine {
public static final Logger LOG = SyslogCategory.getLogger(SyslogCategory.PROTOCOL, BluetoothMeshProxyStateMachine.class.getName());
- public static final int MAX_RETRY_COUNT = 7;
+ public static final int MAX_RETRY_COUNT = 20;
public static final int CONNECT_TIMEOUT = 60000;
public static final int SCAN_TIMEOUT = 60000;