locka99 / opcua

A client and server implementation of the OPC UA specification written in Rust
Mozilla Public License 2.0
501 stars 131 forks source link

correct binary encoding #213

Closed schroeder- closed 2 years ago

schroeder- commented 2 years ago

correct binary encoding for DiagnosticInfo

See: https://reference.opcfoundation.org/v104/Core/docs/Part4/7.8/

locka99 commented 2 years ago

I think the bits were correct - if you look at 5.2.2.12 in the specs they were in the proper order:

https://reference.opcfoundation.org/v104/Core/docs/Part6/5.2.2/

schroeder- commented 2 years ago

You are right. Was confused because of https://reference.opcfoundation.org/v104/Core/docs/Part4/7.8/ where the order is different....