This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/plc4x-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 3a65439  Site checkin for project PLC4X: Jenkins Tools
3a65439 is described below

commit 3a65439573c6c96b517e8935e942798a47357c88
Author: jenkins <[email protected]>
AuthorDate: Wed Nov 17 11:05:42 2021 +0000

    Site checkin for project PLC4X: Jenkins Tools
---
 developers/code-gen/protocol/df1.html   | 32 ++++++++++++++++----------------
 developers/code-gen/protocol/mspec.html | 18 +++++++++---------
 modules.html                            |  2 +-
 schemas/driver-testsuite.xsd            |  9 ++++++++-
 schemas/parser-serializer-testsuite.xsd |  9 ++++++++-
 5 files changed, 42 insertions(+), 28 deletions(-)

diff --git a/developers/code-gen/protocol/df1.html 
b/developers/code-gen/protocol/df1.html
index d9765dd..880eaea 100644
--- a/developers/code-gen/protocol/df1.html
+++ b/developers/code-gen/protocol/df1.html
@@ -369,17 +369,17 @@ DLE + ETX mark the end of the message, the last two bytes 
are the CRC that is ca
 </div>
 <div class="literalblock">
 <div class="content">
-<pre>[discriminatedType 'DF1Symbol'
-    [const            uint 8       'messageStart' '0x10']
-    [discriminator    uint 8       'symbolType']
+<pre>[discriminatedType DF1Symbol
+    [const            uint 8       messageStart '0x10']
+    [discriminator    uint 8       symbolType]
     [typeSwitch 'symbolType'
         ['0x02' DF1SymbolMessageFrame
-            [simple   uint 8       'destinationAddress']
-            [simple   uint 8       'sourceAddress']
-            [simple   DF1Command   'command']
-            [const    uint 8       'messageEnd' '0x10']
-            [const    uint 8       'endTransaction' '0x03']
-            [checksum uint 16      'crc' 
'STATIC_CALL("org.apache.plc4x.java.df1.util.DF1Utils.crcCheck", 
destinationAddress, sourceAddress, command)']
+            [simple   uint 8       destinationAddress]
+            [simple   uint 8       sourceAddress]
+            [simple   DF1Command   command]
+            [const    uint 8       messageEnd '0x10']
+            [const    uint 8       endTransaction '0x03']
+            [checksum uint 16      'crc' 
'STATIC_CALL("org.apache.plc4x.java.df1.readwrite.utils.StaticHelper.crcCheck", 
destinationAddress, sourceAddress, command)']
         ]
         ['0x06' DF1SymbolMessageFrameACK
         ]
@@ -388,17 +388,17 @@ DLE + ETX mark the end of the message, the last two bytes 
are the CRC that is ca
     ]
 ]
 
-[discriminatedType 'DF1Command'
-    [discriminator uint 8  'commandCode']
-    [simple    uint 8       'status']
-    [simple    uint 16      'transactionCounter']
+[discriminatedType DF1Command
+    [discriminator uint 8  commandCode]
+    [simple    uint 8       status]
+    [simple    uint 16      transactionCounter]
     [typeSwitch 'commandCode'
         ['0x01' DF1UnprotectedReadRequest
-            [simple uint 16    'address']
-            [simple uint 8     'size']
+            [simple uint 16    address]
+            [simple uint 8     size]
         ]
         ['0x41' DF1UnprotectedReadResponse
-            [manualArray  uint 8 'data' terminated 
'STATIC_CALL("org.apache.plc4x.java.df1.util.DF1Utils.dataTerminate", io)' 
'STATIC_CALL("org.apache.plc4x.java.df1.util.DF1Utils.readData", io)' 
'STATIC_CALL("org.apache.plc4x.java.df1.util.DF1Utils.writeData", io, element)' 
'STATIC_CALL("org.apache.plc4x.java.df1.util.DF1Utils.dataLength", data)']
+            [manualArray  uint 8 'data' terminated 
'STATIC_CALL("org.apache.plc4x.java.df1.readwrite.utils.StaticHelper.dataTerminate",
 io)' 
'STATIC_CALL("org.apache.plc4x.java.df1.readwrite.utils.StaticHelper.readData", 
io)' 
'STATIC_CALL("org.apache.plc4x.java.df1.readwrite.utils.StaticHelper.writeData",
 io, element)' 
'STATIC_CALL("org.apache.plc4x.java.df1.readwrite.utils.StaticHelper.dataLength",
 data)']
         ]
     ]
 ]</pre>
diff --git a/developers/code-gen/protocol/mspec.html 
b/developers/code-gen/protocol/mspec.html
index 25f473f..5de168d 100644
--- a/developers/code-gen/protocol/mspec.html
+++ b/developers/code-gen/protocol/mspec.html
@@ -246,10 +246,10 @@
 </div>
 <div class="literalblock">
 <div class="content">
-<pre>[type 'TPKTPacket'
-    [const    uint 8     'protocolId' '0x03']
+<pre>[type TPKTPacket
+    [const    uint 8     protocolId '0x03']
     [reserved uint 8     '0x00']
-    [implicit uint 16    'len'        'payload.lengthInBytes + 4']
+    [implicit uint 16    len        'payload.lengthInBytes + 4']
     [field    COTPPacket 'payload']
 ]</pre>
 </div>
@@ -265,13 +265,13 @@
 </div>
 <div class="literalblock">
 <div class="content">
-<pre>[discriminatedType 'S7Message'
-    [const         uint 8  'protocolId'      '0x32']
-    [discriminator uint 8  'messageType']
+<pre>[discriminatedType S7Message
+    [const         uint 8  protocolId      '0x32']
+    [discriminator uint 8  messageType]
     [reserved      uint 16 '0x0000']
     [field         uint 16 'tpduReference']
-    [implicit      uint 16 'parameterLength' 'parameter.lengthInBytes']
-    [implicit      uint 16 'payloadLength'   'payload.lengthInBytes']
+    [implicit      uint 16 parameterLength 'parameter.lengthInBytes']
+    [implicit      uint 16 payloadLength   'payload.lengthInBytes']
     [typeSwitch 'messageType'
         ['0x01' S7MessageRequest
         ]
@@ -731,7 +731,7 @@ These arguments are then available for expressions or 
passing on in the subtypes
 </div>
 <div class="literalblock">
 <div class="content">
-<pre>[discriminatedType 'S7Payload' [uint 8 'messageType', S7Parameter 
'parameter']
+<pre>[discriminatedType S7Payload(uint 8 'messageType', S7Parameter 
'parameter')
     [typeSwitch 'parameter.discriminatorValues[0]', 'messageType'
         ['0xF0' S7PayloadSetupCommunication]
         ['0x04','0x01' S7PayloadReadVarRequest]
diff --git a/modules.html b/modules.html
index 1065978..43dbed9 100644
--- a/modules.html
+++ b/modules.html
@@ -125,7 +125,7 @@
 <th>Name</th>
 <th>Description</th></tr>
 <tr class="b">
-<td><a href="./plc4x-code-generation/index.html">PLC4X: 
Code-Generation</a></td>
+<td><a href="./plc4x-code-generation/index.html">Code-Generation</a></td>
 <td>Home of the PLC4X code-generation framework.</td></tr>
 <tr class="a">
 <td><a href="./plc4x-protocols/index.html">Protocols</a></td>
diff --git a/schemas/driver-testsuite.xsd b/schemas/driver-testsuite.xsd
index b0bd6d0..c30f7af 100644
--- a/schemas/driver-testsuite.xsd
+++ b/schemas/driver-testsuite.xsd
@@ -109,7 +109,7 @@
                 </xs:element>
             </xs:sequence>
 
-            <xs:attribute name="bigEndian" type="xs:boolean"/>
+            <xs:attribute name="byteOrder" type="byteOrder"/>
         </xs:complexType>
     </xs:element>
 
@@ -142,4 +142,11 @@
         </xs:sequence>
     </xs:complexType>
 
+    <xs:simpleType name="byteOrder" final="restriction">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="BIG_ENDIAN"/>
+            <xs:enumeration value="LITTLE_ENDIAN"/>
+        </xs:restriction>
+    </xs:simpleType>
+
 </xs:schema>
\ No newline at end of file
diff --git a/schemas/parser-serializer-testsuite.xsd 
b/schemas/parser-serializer-testsuite.xsd
index a1b17c1..bab009e 100644
--- a/schemas/parser-serializer-testsuite.xsd
+++ b/schemas/parser-serializer-testsuite.xsd
@@ -70,7 +70,7 @@
                     </xs:complexType>
                 </xs:element>
             </xs:sequence>
-            <xs:attribute name="bigEndian" type="xs:boolean"/>
+            <xs:attribute name="byteOrder" type="byteOrder"/>
         </xs:complexType>
     </xs:element>
 
@@ -87,4 +87,11 @@
         </xs:sequence>
     </xs:complexType>
 
+    <xs:simpleType name="byteOrder" final="restriction">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="BIG_ENDIAN"/>
+            <xs:enumeration value="LITTLE_ENDIAN"/>
+        </xs:restriction>
+    </xs:simpleType>
+
 </xs:schema>
\ No newline at end of file

Reply via email to