2.2.1.2 Common Message Header
A common message header MUST be present in every message after a qWave-WD session has been established. Each message header contains a common header optionally followed by a message-specific header.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Message_Size |
Message_ID |
||||||||||||||||||||||||||||||
Reserved |
Reserved_2 |
||||||||||||||||||||||||||||||
Message_Specific_Header (variable) |
|||||||||||||||||||||||||||||||
... |
Message_Size (2 bytes): A 16-bit unsigned integer that specifies the size of the message. This value includes the size of this header and the payload that follows.
Message_ID (2 bytes): A 16-bit unsigned integer that specifies the type of message, which defines the form of the payload that follows. The value of this field MUST be one of the following.
-
Value
Meaning
0x0009
0x000A
0x000B
0x000C
0x000D
0x000E
0x000F
0x0010
Reserved (2 bytes): A value that MUST be zero and ignored on receipt.
Reserved_2 (2 bytes): A value that MUST be zero and ignored on receipt.
Message_Specific_Header (variable): An optional message-specific header that corresponds to the message type identified in the Message_ID field. The formats for message-specific headers for all message types are defined in Message-Specific Syntax (section 2.2.2).