diff options
| -rw-r--r-- | readme.md | 2 | ||||
| -rw-r--r-- | src/server_register.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -137,7 +137,7 @@ build/bobink_opcua_server server.conf client.conf opc.tcp://localhost:14840 node The config file only declares the node structure (name, type, access level). Values are not specified in the config — the server assigns random values at -startup and updates them every second. This is intended for testing OPC UA +startup and updates them every five seconds. This is intended for testing OPC UA monitoring and subscriptions. The file uses the same `key = value` format with dot-indexed keys: diff --git a/src/server_register.c b/src/server_register.c index bbd1c31..c45949b 100644 --- a/src/server_register.c +++ b/src/server_register.c @@ -263,7 +263,7 @@ main (int argc, char **argv) { nodes_config_randomize (server, &nodes_cfg); UA_Server_addRepeatedCallback (server, _s_update_nodes_cb, &nodes_cfg, - 1000, &update_cb_id); + 5000, &update_cb_id); } retval = _s_register_with_lds (server, &lds_params, discovery_endpoint); |
