You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by na...@apache.org on 2019/12/08 23:27:20 UTC
[plc4x] branch PLC4X-157OPC-UADisablediscovery updated: changed
ManualPLC4XOpcua.java according to discovery param
This is an automated email from the ASF dual-hosted git repository.
nalim2 pushed a commit to branch PLC4X-157OPC-UADisablediscovery
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/PLC4X-157OPC-UADisablediscovery by this push:
new 9a13bfa changed ManualPLC4XOpcua.java according to discovery param
9a13bfa is described below
commit 9a13bfae948ed12cc01c5b490d8d3efac9de6a4b
Author: Matthias Milan Strljic <ma...@gmail.com>
AuthorDate: Sun Dec 8 15:26:42 2019 -0800
changed ManualPLC4XOpcua.java according to discovery param
Signed-off-by: Matthias Milan Strljic <Ma...@gmail.com>
---
.../src/test/java/org/apache/plc4x/java/opcua/ManualPLC4XOpcua.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/ManualPLC4XOpcua.java b/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/ManualPLC4XOpcua.java
index 8d8f35f..9c081f3 100644
--- a/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/ManualPLC4XOpcua.java
+++ b/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/ManualPLC4XOpcua.java
@@ -75,7 +75,7 @@ public class ManualPLC4XOpcua {
PlcField field = fieldH.createField("ns=2;i=10855");
try {
opcuaConnection = (OpcuaTcpPlcConnection)
- new PlcDriverManager().getConnection("opcua:tcp://localhost:4843?nDiscovery=true");
+ new PlcDriverManager().getConnection("opcua:tcp://localhost:4843?discovery=true");
} catch (PlcConnectionException e) {
e.printStackTrace();