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 2022/03/01 18:29:56 UTC
[plc4x] branch develop updated: feat(protocols/c-bus): added NetworkProtocolControlInformation
This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new abe3853 feat(protocols/c-bus): added NetworkProtocolControlInformation
abe3853 is described below
commit abe38538929bd5919a4485647fe45d23935d7fe1
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Tue Mar 1 19:29:51 2022 +0100
feat(protocols/c-bus): added NetworkProtocolControlInformation
---
.../c-bus/src/main/resources/protocols/cbus/c-bus.mspec | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/protocols/c-bus/src/main/resources/protocols/cbus/c-bus.mspec b/protocols/c-bus/src/main/resources/protocols/cbus/c-bus.mspec
index 71ed3bd..0edcdce 100644
--- a/protocols/c-bus/src/main/resources/protocols/cbus/c-bus.mspec
+++ b/protocols/c-bus/src/main/resources/protocols/cbus/c-bus.mspec
@@ -569,7 +569,7 @@
]
[type StatusHeader
- [reserved uint 2 '3' ]
+ [reserved uint 2 '0x3' ]
[simple uint 6 numberOfCharacterPairs ]
]
@@ -592,7 +592,7 @@
]
[type ExtendedStatusHeader
- [reserved uint 3 '7' ]
+ [reserved uint 3 '0x7' ]
[simple uint 5 numberOfCharacterPairs ]
]
@@ -607,7 +607,7 @@
['0' DOES_NOT_EXIST ]
['1' ON ]
['2' OFF ]
- ['3' ERRO ]
+ ['3' ERROR ]
]
[enum byte StatusCoding
@@ -615,4 +615,10 @@
['0x40' BINARY_BY_ELSEWHERE ]
['0x07' LEVEL_BY_THIS_SERIAL_INTERFACE ]
['0x47' LEVEL_BY_ELSEWHERE ]
-]
\ No newline at end of file
+]
+
+[type NetworkProtocolControlInformation
+ [reserved uint 2 '0x0' ]
+ [simple uint 3 stackCounter ]
+ [simple uint 3 stackDepth ]
+]