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

IOP: Data structure Data:Array:ByteValue returns ByteString as datatype instead of Byte array. #2599

Open
1 of 5 tasks
mregen opened this issue Apr 27, 2024 · 0 comments
Open
1 of 5 tasks

Comments

@mregen
Copy link
Contributor

mregen commented Apr 27, 2024

Type of issue

  • Bug
  • Enhancement
  • Compliance
  • Question
  • Help wanted

Current Behavior

The Variant with this Value contains a BuiltInType ByteString, but should be Byte array.

investigation reveals the DataType in the genrerated code is determined by the data value. A Byte[] and a ByteString are both having Value of (byte []) and cannot be distinguished. Needs enhancement to pass the datatype on when the value is returned.

Expected Behavior

No response

Steps To Reproduce

Connect with a client to Ref server
Read the variable and inspect the DataType returned in the Variant.

Environment

- OS:
- Environment:
- Runtime: 
- Nuget Version: 1.5.374
- Component: generated code
- Server: UA .NET Standard Reference server
- Client: e.g UA Expert

Anything else?

No response

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