Parcourir la source

swapped order of crc and payload

Fischer, Simon | Friedrich Lütze GmbH il y a 3 ans
Parent
commit
1013b2fa03
1 fichiers modifiés avec 12 ajouts et 12 suppressions
  1. 12 12
      doc/shellmatta_transport_layer.dox

+ 12 - 12
doc/shellmatta_transport_layer.dox

@@ -32,18 +32,18 @@
     @section shellmatta_transport_layer_protocol Protocol
 
 
-    | Offset | Length   | Description                                 |
-    |--------|----------|---------------------------------------------|
-    |    0   |     1    | Start of header (\SOH)                      |
-    |    1   |     1    | Protocol version                            |
-    |    2   |     1    | Packet type                                 |
-    |    3   |     1    | Payload Length                              |
-    |    4   |     1    | Source                                      |
-    |    5   |     1    | Destination                                 |
-    |    6   |     1    | Sequence counter host to shellmatta         |
-    |    7   |     1    | Sequence counter shellmatta to host         |
-    |    8   |     4    | CRC32 of header + payload without CRC32     |
-    |    12  | 0 .. 255 | Payload                                     |
+    | Offset | Length        | Description                                 |
+    |--------|---------------|---------------------------------------------|
+    |    0   |     1         | Start of header (\\SOH)                     |
+    |    1   |     1         | Protocol version                            |
+    |    2   |     1         | Packet type                                 |
+    |    3   |     1         | Payload Length                              |
+    |    4   |     1         | Source                                      |
+    |    5   |     1         | Destination                                 |
+    |    6   |     1         | Sequence counter host to shellmatta         |
+    |    7   |     1         | Sequence counter shellmatta to host         |
+    |    8   | L1 = 0 .. 255 | Payload                                     |
+    |8 + L1  |     4         | CRC32 of header + payload without CRC32     |
 
 
     @subsection shellmatta_transport_layer_protocol_packet_Types Packet types