You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Length. This field shall specify the length of the PDU, including the PDU Header, in octets and shall be represented by a 16-bit unsigned integer....
PDU Status...This record shall be defined as an 8-bit record....
The spec goes into further details on the fields. However the DIS7.xml and all generated code has incorrect sizing of these fields. Given this is the basis for all PDUs how do any of the generated implementations correctly generate or read any messages streams correctly?
The text was updated successfully, but these errors were encountered:
To be honest, I only use the DIS6 implementation (the Java and C++ ones), so I don't have experience using the DIS7 implementation to confirm your observation.
If you have some sample DIS7 PDU's what you could do is submit a pull request with a unit test in the open-dis-java project to confirm it fails to parse them.
Per the 1278.1-2012 spec for PduHeader
The spec goes into further details on the fields. However the DIS7.xml and all generated code has incorrect sizing of these fields. Given this is the basis for all PDUs how do any of the generated implementations correctly generate or read any messages streams correctly?
The text was updated successfully, but these errors were encountered: