chrisdutz commented on code in PR #2674:
URL: https://github.com/apache/plc4x/pull/2674#discussion_r3757074332


##########
protocols/eip/src/main/resources/protocols/eip/eip.mspec:
##########
@@ -157,10 +157,17 @@
             [array      byte   servicesData count 'serviceLen - 6 - (2 * 
serviceNb)'                                   ]
         ]
         ['0x0E','false' GetAttributeSingleRequest
-            // TODO: Implement
+            [implicit   uint    8           requestPathSize 
'(classSegment.lengthInBytes + instanceSegment.lengthInBytes + 
attributeSegment.lengthInBytes)/2']
+            [simple     PathSegment         classSegment                       
                                        ]
+            [simple     PathSegment         instanceSegment                    
                                        ]
+            [simple     PathSegment         attributeSegment                   
                                        ]
         ]
         ['0x0E','true'  GetAttributeSingleResponse
-            // TODO: Implement
+            [reserved   uint    8           '0x00'                             
                                        ]
+            [simple     uint    8           status                             
                                        ]
+            [simple     uint    8           extStatusSize                      
                                        ]
+            [array      uint    8           extStatus count 'extStatusSize'    
                                        ]
+            [array      byte   servicesData count 'serviceLen - 4 - 
extStatusSize'                                     ]

Review Comment:
   Hehe ... well ... I could immagine, that we simply got the others wrong ;-)
   I would need to check if possibly all others we only had extStatus=0 ... in 
that case our other cases would have worked. I'll let Claude do some research 
... however my gut-feeling tells me that I would expect your version to be 
right and ours to be wrong.



-- 
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