open62541
open62541 copied to clipboard
Feature Request: Parse Configuration from File
Changing the configuration currently requires rebuilding from source. This is not ideal for wide-spread deployment.
It would be great to have a configuration file format for clients and servers. Then we could have another config "factory" that takes a file as the input.
For example based on the TOML format for configuration files: https://github.com/toml-lang/toml
There exists an implementation in C99 (MIT) that does the heavy lifting for parsing.
The config values can then be extracted as hostname = toml_raw_in(server, "host"); or similar.
https://github.com/cktan/tomlc99