Configuration of server parameters using json or json5|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Configuration of server parameters using json or json5
Avatar
Nikita Goncharov
Member
Members
Forum Posts: 3
Member Since:
05/05/2024
sp_UserOfflineSmall Offline
1
05/19/2024 - 12:54
sp_Permalink sp_Print sp_EditHistory

Hello, I have a server OPC UA it is registered on the local discovery server
I need to make it so that such settings as, connection address, authentication type and information exchange parameters are configured using json or json5 file. No matter how many searches I can not find how to make a json file and how the server will be configured with it, I would like you to help or provide examples of configuration file and call this file to configure the OPC UA server.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
05/20/2024 - 07:40
sp_Permalink sp_Print

The file format depends on the server vendor.

You need to check with the server vendor.

Avatar
Nikita Goncharov
Member
Members
Forum Posts: 3
Member Since:
05/05/2024
sp_UserOfflineSmall Offline
3
05/20/2024 - 07:49
sp_Permalink sp_Print

Randy Armstrong said
The file format depends on the server vendor.

You need to check with the server vendor.

  

I am developing the server myself, as part of a training project, and I need to configure the server configuration using a json file, but I can't find how to do it, that's why I asked for code examples of a json file and how to use it

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
05/20/2024 - 07:52
sp_Permalink sp_Print

Then it depends on the SDK you are using.

Most SDKs support XML. JSON may require custom code.

Avatar
Nikita Goncharov
Member
Members
Forum Posts: 3
Member Since:
05/05/2024
sp_UserOfflineSmall Offline
5
05/20/2024 - 08:29
sp_Permalink sp_Print sp_EditHistory

I'm making a server using the open62541 repository and that's why I asked this question, maybe someone has written a similar server or knows how to do the configuration using json.

Randy Armstrong said
Then it depends on the SDK you are using.

Most SDKs support XML. JSON may require custom code.

  

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 16
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855