@leonardojc/capacitor-ioboard 1.2.5 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -310,6 +310,9 @@ public class IOBoardManager {
310
310
  }
311
311
  });
312
312
 
313
+ return future.get(timeoutMs + 2000, TimeUnit.MILLISECONDS);
314
+ }
315
+
313
316
  /**
314
317
  * Check if serial port is connected
315
318
  */
@@ -829,10 +832,4 @@ public class IOBoardManager {
829
832
  }
830
833
  }
831
834
 
832
- /**
833
- * Check if serial connection is open
834
- */
835
- public boolean isConnected() {
836
- return isConnected;
837
- }
838
835
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leonardojc/capacitor-ioboard",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "description": "A Capacitor plugin for controlling custom IOBOARD devices via RS485 serial communication with full native protocol implementation",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",