You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2021/10/22 11:55:03 UTC
[plc4x] branch feature/mspec-ng updated: fix(plc4j/codgen): move to
type ref args
This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch feature/mspec-ng
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/feature/mspec-ng by this push:
new 3e1e1a4 fix(plc4j/codgen): move to type ref args
3e1e1a4 is described below
commit 3e1e1a4ef1c6ea1a90b8a44f378d5a85f0efc9a6
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Oct 22 13:54:53 2021 +0200
fix(plc4j/codgen): move to type ref args
---
protocols/ab-eth/src/main/resources/protocols/abeth/ab-eth.mspec | 2 +-
protocols/ads/src/main/resources/protocols/ads/ads.mspec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/protocols/ab-eth/src/main/resources/protocols/abeth/ab-eth.mspec b/protocols/ab-eth/src/main/resources/protocols/abeth/ab-eth.mspec
index 5e43428..77e7a75 100644
--- a/protocols/ab-eth/src/main/resources/protocols/abeth/ab-eth.mspec
+++ b/protocols/ab-eth/src/main/resources/protocols/abeth/ab-eth.mspec
@@ -34,7 +34,7 @@
[simple DF1RequestMessage 'request']
]
['0x0207' CIPEncapsulationReadResponse [uint 16 'len']
- [simple DF1ResponseMessage 'response' ['len']]
+ [simple DF1ResponseMessage ['len'] 'response']
]
]
]
diff --git a/protocols/ads/src/main/resources/protocols/ads/ads.mspec b/protocols/ads/src/main/resources/protocols/ads/ads.mspec
index 40050d3..bfa6de9 100644
--- a/protocols/ads/src/main/resources/protocols/ads/ads.mspec
+++ b/protocols/ads/src/main/resources/protocols/ads/ads.mspec
@@ -133,7 +133,7 @@
// 4 bytes Free usable 32 bit array. Usually this array serves to send an Id. This Id makes is possible to assign a received response to a request, which was sent before.
[simple uint 32 'invokeId' ]
// The payload
- [simple AdsData 'data' ['commandId', 'state.response'] ]
+ [simple AdsData ['commandId', 'state.response'] 'data' ]
]
[enum uint 16 'CommandId'