2.2.2.2 CommonHeader Structure

The CommonHeader structure is used by all structures to identify the type and length of the structure encoded in the message payload.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Id

Length

Id (1 byte): The Id field specifies the type of the structure encoded in the message, as specified in TypeId enumeration (section 2.2.1.3).

Length (2 bytes): The Length field specifies the number of bytes that follow the CommonHeader which correspond to the length of the encoded structure. Note that the structure is encoded in network byte order.