Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeId for generated types in the client (v1.4) #6320

Open
basyskom-jvoe opened this issue Mar 1, 2024 · 0 comments
Open

TypeId for generated types in the client (v1.4) #6320

basyskom-jvoe opened this issue Mar 1, 2024 · 0 comments

Comments

@basyskom-jvoe
Copy link
Contributor

With open62541 1.3 and before, the generated UA_DataType values had the hardcoded namespace index from the NAMESPACE_MAP parameter in their typeId and binaryEncodingId fields.

For 1.4, the UA_DataType values are generated with namespace index 0 for these fields and the appropriate index is set by a for-loop in the namespace initialization function for the server.
This takes care of the server side, but adding the custom types to the client config as in 1.3 fails to decode the custom types due to the wrong namespace index.
Is there an official/documented way to set the namespace index in all members of a generated types array before adding it to a client config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant