Page 1 of 1

ClientAndServer OPC UA application

Posted: 24 May 2018, 08:21
by AnnieFYWu
Hi,

Most of the OPC UA application is as a Server or as a Client, how about the ClientAndServer application?
If I want to create an OPC UA application with ClientAndServer application type, where should I set the application description?

Thanks.

Re: ClientAndServer OPC UA application

Posted: 06 Jun 2018, 15:29
by Support Team
Hi Annie,

currently, this is hardcoded as Client in client code and as Server in server code.
Actually, this is just metadata, and gets only important when the application is registering at an LDS or GDS,
which is currently not implement anyway.

I added a feature request to make this configurable using the g_appconfig variable like the other application description parameters.

Re: ClientAndServer OPC UA application

Posted: 19 Aug 2020, 11:26
by rajeesh
Hi,

Glad to see that my question has already been asked and answered.

I'll have server and client running in separate background threads. I understand that uaapplication needs to be initialized only once therefore client and server shares the same configuration.

Is there any known limitation to this approach? can we manage different security configurations required to connect to different OPCUA servers?

Best Regards,
Rajeesh