Jump to content

OBD:BINA/OBJC: Difference between revisions

no edit summary
m (→‎OBJC types: deleted dead link)
No edit summary
Line 26: Line 26:
:*Unlike ONIE and TMBD (which are arrays), OBJC announces the size of every object (int32).
:*Unlike ONIE and TMBD (which are arrays), OBJC announces the size of every object (int32).
:*After the last object, the end of the collection is signaled by a null next object size.
:*After the last object, the end of the collection is signaled by a null next object size.
;Object header
:All objects start with the following header:
{{Table}}
{{OBDth}}
{{OBDtr| 0x00 | char[4]  |FFC8C8| 52 52 57 50 | PWRU      | object type }}
{{OBDtr| 0x04 | int32    |FFFFC8| AC 1C 00 00 | 7340      | object ID }}
{{OBDtr| 0x08 |          |C8FFC8| 00 00 00 00 | 0x00      | object flags; used values:
:0x'''01''' 00 00 00 - unknown
:0x'''08''' 00 00 00 - unknown }}
{{OBDtr| 0x0C | float    |C8FFFF| E8 92 77 44 | 990.254    | x-position }}
{{OBDtr| 0x10 | float    |C8FFFF| 00 00 D8 41 | 27.000000  | y-position }}
{{OBDtr| 0x14 | float    |C8FFFF| 71 DD 98 43 | 305.73    | z-position }}
{{OBDtr| 0x18 | float    |FFC8FF| 00 00 00 00 | 0.000000  | rotation on the x-axis in degrees }}
{{OBDtr| 0x1C | float    |FFC8FF| 00 00 00 00 | 0.000000  | rotation on the y-axis in degrees }}
{{OBDtr| 0x20 | float    |FFC8FF| 00 00 00 00 | 0.000000  | rotation on the z-axis in degrees }}
|}


----
----
708

edits