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

Error when writing all array elements at once #499

Closed
denxxjkee opened this issue Mar 21, 2024 · 1 comment
Closed

Error when writing all array elements at once #499

denxxjkee opened this issue Mar 21, 2024 · 1 comment

Comments

@denxxjkee
Copy link

denxxjkee commented Mar 21, 2024

Hi Michael!

We work with v1.6 lib and have some issue when tried to write all array elements of data attribute with IEDScout in one request.

The IEDScout can write single item of array (even partially if array have structure elements) and write always succeeds.

But is we set option "Write all values" the IEDScout sends full array and library always response "type-inconsistent". This error appears with any type of arrays, be it structures or integral values.

How can we support writing the entire array and how can we install a write handler that will be called when writing a separate array element (subcomponent) and the entire array?

Our tree:
tree with arrays

IEDScout writes separate elements always success:
write work on single elements

But if we tries "Write all values" IEDScout fails:
write not work on all array

Here that IEDScout sends:
Array Wireshark

And lib answer:
Array lib answer

@denxxjkee
Copy link
Author

Thanks! The fix work perfectly.

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