I've been working for a long time with Python and the FreeOPCUA Stack, but I wanted to go into more low-level stuff, so I wanted to try the Open62541 Stack. My C skills are a bit rusted, but I understand the concepts and syntax.
I am trying to create a method node without an input argument. Once called, the method should call a function and return as output the function's output. In Python, the arguments are passed into the add_method as a list. In C, it should be a string or an array of strings.
How should I write it in order to have just a function call, without inputs?
I was following the docs at https://www.open62541.org/doc/1.0/tutorial_server_method.html, but the two examples take input arguments (even the hello world), and since then I am stuck.