sruehl commented on a change in pull request #241:
URL: https://github.com/apache/plc4x/pull/241#discussion_r679308115



##########
File path: protocols/canopen/src/main/resources/protocols/can/canopen.mspec
##########
@@ -352,3 +352,12 @@
     [simple IndexAddress 'address']
     [array int 8 'data' count '4']
 ]
+
+// A compact, byte aligned structure for test and embedding purposes
+[type 'CANOpenFrame'
+    [simple uint 8 'nodeId']
+    [simple CANOpenService 'service']
+    [const uint 4 'alignment' '0x00']
+    [simple CANOpenPayload 'payload' ['service']]
+    [padding uint 8 'alignment' '0x00' '8 - (payload.lengthInBytes)']
+]

Review comment:
       EOL missing




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to