From 52727a053c45f8d6c634d405742c3289a0be1f78 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Wed, 18 Feb 2026 23:36:35 +0100 Subject: Rename CMake project and executable targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Project: OpcUaC → BobinkOpcUaC Targets: ServerLDS → bobink_opcua_discovery_server, ServerRegister → bobink_opcua_server, Client → client --- readme.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index bc5d4c0..efc42bd 100644 --- a/readme.md +++ b/readme.md @@ -3,9 +3,9 @@ A small C project that demonstrates OPC UA server discovery using the [open62541](https://www.open62541.org/) library. Three programs work together: -- **ServerLDS** — Local Discovery Server that other servers register with -- **ServerRegister** — a server that periodically registers itself with the LDS -- **Client** — queries the LDS for servers, lists endpoints, reads the current time, or downloads a server's certificate +- **bobink_opcua_discovery_server** — Local Discovery Server that other servers register with +- **bobink_opcua_server** — a server that periodically registers itself with the LDS +- **client** — queries the LDS for servers, lists endpoints, reads the current time, or downloads a server's certificate ## Prerequisites @@ -55,23 +55,23 @@ Configuration files live in `tests/` (one directory per test scenario — see ```sh # 1. Local Discovery Server -build/ServerLDS tests/secure_user/server_lds.conf +build/bobink_opcua_discovery_server tests/secure_user/server_lds.conf # 2. Register Server (connects to the LDS on port 14840) -build/ServerRegister tests/secure_user/server_register.conf \ +build/bobink_opcua_server tests/secure_user/server_register.conf \ tests/secure_user/server_register_client.conf opc.tcp://localhost:14840 # 3. Find registered servers via the LDS -build/Client tests/secure_user/client.conf find-servers opc.tcp://localhost:14840 +build/client tests/secure_user/client.conf find-servers opc.tcp://localhost:14840 # 4. List endpoints on the registered server -build/Client tests/secure_user/client.conf get-endpoints opc.tcp://localhost:14841 +build/client tests/secure_user/client.conf get-endpoints opc.tcp://localhost:14841 # 5. Read the current time from the registered server -build/Client tests/secure_user/client.conf read-time opc.tcp://localhost:14841 +build/client tests/secure_user/client.conf read-time opc.tcp://localhost:14841 # 6. Download the server's certificate to a local file -build/Client tests/secure_user/client.conf download-cert opc.tcp://localhost:14841 server.der +build/client tests/secure_user/client.conf download-cert opc.tcp://localhost:14841 server.der ``` All three programs accept an optional log level as the last argument -- cgit v1.2.3