SML Protokoll identifiziren und zerlegen

Ich habe mir mal die Mühe gemacht und die Message von @Rentner mal komplett kommentiert.
Feldinfos, die auf SML_ starten stehen genauso in der Detailbeschreibung.
Feldinfos die auf *enden ebenso.
Erstere sind Structuren, letztere Werte.
Es gilt das, was oben bereits gesagt wurde,
Na denne.

1b 1b 1b 1b 
01 01 01 01  // Start SML-Datei
// Die Reihenfolge der Nachrichten ist nicht festgelegt!
// Die Abarbeitung erfolgt nach der GruppenID!
76            (List 6 Elemente)             (SML_Message)
 05 00 a0 d9 b6               Octed Stream  (transactionId*)  1/6.
 62 00                        UINT8         (groupNo*)        2/6.
 62 00                        UINT8         (abortOnError*)   3/6.
 72                     (List 2 Elemente)   (SML_MessageBody) 4/6. 
  63 01 01                    UINT16        (TYPE)                1/2.
  76                    (List 6 Elemente)   (SML_PublicOpen.res)  2/2.
   01                                       (codepage*)             1/6.
   07 ff ff ff ff ff ff                     (clientId*)             2/6.
   05 00 35 9d e8                           (reqFileId*)            3/6.
   0b 0a 01 45 4d 48 00 00 b9 77 35         (serverId*)             4/6. 
   72                   (List 2 Elemente)   (SML_Time)              5/6.
    62 01                     UINT8         (secIndex*)               1/2.
    65 00 23 c9 77            UINT32        (TimeValue}               2/2.
   62 01                      UINT8         (SMLVersion)            6/6.     
 63 64 16                     UINT16        (CRC Block)       5/6.
 00                                         (ENDE MSG)        6/6.
// Zweiter Block
76                      (List 6 Elemente)   (SML_Message)
 05 00 a0 d9 b7                             (transactionId*)  1/6.
 62 00                                      (groupNo*)        2/6.
 62 00                                      (abortOnError*)   3/6.
 72                     (List 2 Elemente)   (SML_MessageBody) 4/6.
  63 07 01                                  (TYPE)              1/2.
  77                    (List 7 Elemente)   (SML_GetList.Res)   2/2.
   07 ff ff ff ff ff ff                     (clientId*)           1/7.
   0b 0a 01 45 4d 48 00 00 b9 77 35         (serverId*)           2/7.
   07 01 00 62 0a ff ff                     (listName*)           3/7.
   72            List 2 Elemente            (SML_Time)            4/7.
    62 01                                   (secIndex*)             1/2.
    65 00 23 c9 77                          (TimeValue)             2/2.
// ->>>> Ende Kopfdaten <<<<<-
   79            List 9 Elemente            (SML_List)            5/7. 
    77           List 7 Elemente            (SML_ListEntry)         1/9.
     07 01 00 60 32 01 01                   (objName*)                1/7. 
     01                                     (SML_Status)              2/7. 
     01                                     (SML_Time)                3/7. 
     01                                     (SML_Unit)                4/7. 
     01                                     (scaler*)                 5/7. 
     04 45 4d 48                            (SML_Value)               6/7. 
     01                                     (SML_Signature)           7/7. 
    77           List 7 Elemente            (SML_ListEntry)         2/9. 
     07 01 00 60 01 00 ff                   (objName*)                1/7. 
     01                                     (SML_Status)              2/7. 
     01                                     (SML_Time)                3/7. 
     01                                     (SML_Unit)                4/7. 
     01                                     (scaler*)                 5/7. 
     0b 0a 01 45 4d 48 00 00 b9 77 35       (SML_Value)               6/7. 
     01                                     (SML_Signature)           7/7. 
    77           List 7 Elemente            (SML_ListEntry)         3/9. 
     07 01 00 01 08 00 ff                   (1-0:1.8.0)               1/7. 
     64 1c 01 04                            (SML_Status)              2/7.
     72                                     (SML_Time)                3/7.
      62 01                                 (TimeType)                  1/2.   
      65 00 23 c9 77                        (TimeValue)                 2/2.  
     62 1e                                  (SML_Unit)                4/7.
     52 ff                                  (scaler*)                 5/7.
     69 00 00 00 00 00 46 29 36             (SML_Value)               6/7.
     01                                     (SML_Signature)           7/7.
    77           List 7 Elemente            (SML_ListEntry)         4/9.
     07 01 00 01 08 01 ff                   (1-0:1.8.1)               1/7.
     01                                     (SML_Status)              2/7.
     72                                     (SML_Time)                3/7.
      62 01                                 (TimeType)                  1/2.
      65 00 23 c9 77                        (TimeValue)                 2/2.
     62 1e                                  (SML_Unit)                4/7.
     52 ff                                  (scaler*)                 5/7.
     69 00 00 00 00 00 46 28 cf             (SML_Value)               6/7.
     01                                     (SML_Signature)           7/7.
    77                                      (SML_ListEntry)         5/9. 
     07 01 00 01 08 02 ff                   (1-0:1.8.2)               1/7.
     01                                     (SML_Status)              2/7.
     72                                     (SML_Time)                3/7.
      62 01                                 (secIndex*)                 1/2.
      65 00 23 c9 77                        (TimeValue)                 2/2.
     62 1e                                  (SML_Unit)                4/7.
     52 ff                                  (scaler*)                 5/7.
     69 00 00 00 00 00 00 00 66             (SML_Value)               6/7.
     01                                     (SML_Signature)           7/7.
    77                                      (SML_ListEntry)         6/9.
     07 01 00 02 08 00 ff                   (1-0:2.8.0)               1/7.
     01                                     (SML_Status)              2/7.
     72                                     (SML_Time)                3/7.
      62 01                                 (secIndex*)                 1/2.
      65 00 23 c9 77                        (TimeValue)                 2/2.
     62 1e                                  (SML_Unit)                4/7.
     52 ff                                  (scaler*)                 5/7.
     69 00 00 00 00 00 00 01 16             (SML_Value)               6/7.
     01                                     (SML_Signature)           7/7.
    77                                      (SML_ListEntry)         7/9.
     07 01 00 02 08 01 ff                   (1-0:2.8.1)               1/7.     
     01                                     (SML_Status)              2/7.
     72                                     (SML_Time)                3/7.
      62 01                                 (secIndex*)                 1/2.
      65 00 23 c9 77                        (TimeValue)                 2/2.
     62 1e                                  (SML_Unit)                4/7.
     52 ff                                  (scaler*)                 5/7.
     69 00 00 00 00 00 00 01 11             (SML_Value)               6/7.
     01                                     (SML_Signature)           7/7.
    77                                      (SML_ListEntry)         8/9.
     07 01 00 02 08 02 ff                   (1-0:2.8.2)               1/7.
     01                                     (SML_Status)              2/7.
     72                                     (SML_Time)                3/7.
      62 01                                 (secIndex*)                 1/2.
      65 00 23 c9 77                        (TimeValue)                 2/2.
     62 1e                                  (SML_Unit)                4/7.
     52 ff                                  (scaler*)                 5/7.
     69 00 00 00 00 00 00 00 05             (SML_Value)               6/7.   
     01                                     (SML_Signature)           7/7.
    77                                      (SML_ListEntry)         9/9.
     07 01 00 10 07 00 ff                   (objName*)                1/7.
     01                                     (SML_Status)              2/7.
     72                                     (SML_Time)                3/7.
      62 01                                 (secIndex*)                 1/2.
      65 00 23 c9 77                        (TimeValue)                 2/2.
     62 1b                                  (SML_Unit)                4/7.
     52 00                                  (scaler*)                 5/7.
     55 00 00 01 16                         (SML_Value)               6/7.
     01                                     (SML_Signature)           7/7.
   01                                       (SML_Signature)       6/7.
   01                                       (SML_Time)            7/7.
  63 6e 68                                  (CRC)               5/6.
  00                                        (MSG Ende)          6/6.  
// Dritter Block    
76                     List 6 Elemente      (SML_Message)
 05 00 a0 d9 b8                             (transactionId*)     1/6.
 62 00                                      (groupNo*)           2/6.
 62 00                                      (abortOnError*)       3/6
 72                    List 2 Elemente      (SML_MessageBody)    4/6.
  63 02 01                                  (TYPE)                1/2.
  71                   List 1 Element       (SML_PublicClose.Res} 2/2.
   01                                       (SML_Signature)         1/1
 63 a6 b5                                   (CRC)                5/6.
 00                                         (Ende Msg)           6/6.
1b 1b 1b 1b                                 (ESC)
1a                                          (Ende SML-Datei)
4 Likes