You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2024/02/10 11:21:27 UTC
(plc4x) branch fix/enum-discriminators updated: fix: Fixed the last bugs in the code-gen, testsuites and especially the handling of WSTRING or WCHAR elements.
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch fix/enum-discriminators
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/fix/enum-discriminators by this push:
new 0667535933 fix: Fixed the last bugs in the code-gen, testsuites and especially the handling of WSTRING or WCHAR elements.
0667535933 is described below
commit 0667535933890a9568054319d30e9f70e7305ac6
Author: Christofer Dutz <cd...@apache.org>
AuthorDate: Sat Feb 10 12:21:19 2024 +0100
fix: Fixed the last bugs in the code-gen, testsuites and especially the handling of WSTRING or WCHAR elements.
---
plc4go/assets/testing/protocols/modbus/tcp/Modbus-all-datatypes.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plc4go/assets/testing/protocols/modbus/tcp/Modbus-all-datatypes.xml b/plc4go/assets/testing/protocols/modbus/tcp/Modbus-all-datatypes.xml
index bc2084dab9..b3c7d9050c 100644
--- a/plc4go/assets/testing/protocols/modbus/tcp/Modbus-all-datatypes.xml
+++ b/plc4go/assets/testing/protocols/modbus/tcp/Modbus-all-datatypes.xml
@@ -866,7 +866,7 @@
<ResponseItem>
<code dataType="string" bitLength="16" encoding="UTF-8">OK</code>
<value>
- <PlcSINT dataType="byte" bitLength="8">0xd6</PlcSINT>
+ <PlcSINT dataType="int" bitLength="8">-42</PlcSINT>
</value>
</ResponseItem>
</hurz>
@@ -957,7 +957,7 @@
</PlcTagRequest>
<values isList="true">
<hurz>
- <PlcSINT dataType="byte" bitLength="8">0xd6</PlcSINT>
+ <PlcSINT dataType="int" bitLength="8">-42</PlcSINT>
</hurz>
</values>
</PlcWriteRequest>