Skip to content

It is a example project that implements OPCUA LDS in node.js. We have created a java client that asks LDS for registered servers and we have created some server to test LDS.

Notifications You must be signed in to change notification settings

AntoninoBonanno/OPCUA-Local-Discovery-Server-Example

Repository files navigation

OPCUA-Local-Discovery-Server-Example

It's a example project that implements OPCUA LDS in node.js.

We have created a Java client that requests registered servers from LDS.

We have created several servers, in different languages, that register with LDS.

  • Client: Java Client in Java
  • LDS: Local Discovery Server in Node.js
  • ServerNode: Server in Node.js
  • ServerCs: Server in C#
  • ServerC: Server in C

We also tried without success:

alt text

Dependencies

Start project

  • LDS

    > cd LDS

    > npm install

    > npm run dev

  • ServerNode

    > cd ServerNode

    > npm install

    > npm run dev

  • ServerCs

    > cd ServerCs\bin

    > ServerCs.exe

    Or

  • ServerC

    On linux

    > cd ServerC

    > gcc -std=c99 -UA_ENABLE_DISCOVERY ServerC.c open62541.c -o ServerC

    > ./ServerC

    On Windows

    > cd ServerC\Release

    > ServerC.exe

    Or

    • Open ServerC\ServerC.sln on Visual Studio
    • You can edit LDS default port inside ServerC\ServerC.c
  • Client

    > cd ClientOPCUA_LDS

    > java -jar ClientForLDS.jar

    Or

    • Import ClientOPCUA_LDS project on Eclipse (Eclipse -> Import -> Existing Projects into Workspace)
    • Import UA-Java-Legacy stack into Workspace
    • Right click on the project "ClientOPCUA_LDS" and choose Properties.
    • Select Java Build Path -> Projects -> Add and select the stack project (opc-ua-stack)

Copy the LDS endpoint url inside Client for start scan.

Authors

Bonanno Antonino, Biuso Mario

About

It is a example project that implements OPCUA LDS in node.js. We have created a java client that asks LDS for registered servers and we have created some server to test LDS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages