Page 1 of 1

ua_extensionobject_register_nsindex

Posted: 09 Oct 2018, 15:29
by joergS
Hello,

is there an example of how to use ua_extensionobject_register_nsindex(..)

I'm not sure, but I suspect this function has to be used to register ExtensionObjects that are defined in an own namespace.

Unfortunately, I could not find anything in the examples or in the documentation that explains how to use the method.

Thank you!

Re: ua_extensionobject_register_nsindex

Posted: 19 Oct 2018, 12:56
by Support Team
Hi,

these functions are obsolete.
The xml2c tool generates the tables with type information.
The generated provider code (xml2c -m) also generates code for registering this tables using ua_type_table_register_const_table.

See
http://documentation.unified-automation ... c491622559
and
http://documentation.unified-automation ... ation.html

The example server_di uses such generate code.