2.2.5.7 MILCTRLCMD_DATAONCHANNEL
The MILCTRLCMD_DATAONCHANNEL packet submits a batch of messages to a channel.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
controlCode |
|||||||||||||||||||||||||||||||
messageSize |
|||||||||||||||||||||||||||||||
hChannel |
|||||||||||||||||||||||||||||||
reserved |
|||||||||||||||||||||||||||||||
payload (variable) |
|||||||||||||||||||||||||||||||
... |
controlCode (4 bytes): A 32-bit unsigned integer containing the control code for this message. The value of this field MUST be equal to 0x00000007.
messageSize (4 bytes): A 32-bit unsigned integer. The total size of this message and its payload in bytes. The value of this field MUST be set to a number greater than or equal to 0x00000010.
hChannel (4 bytes): A 32-bit unsigned integer. This field MUST be set to a valid channel handle. This handle identifies the channel that is the target for this message.
reserved (4 bytes): Reserved. MUST be set to zero when sent, and MUST be ignored when received.
payload (variable): A variable-length byte array. The payload of this packet MUST be a contiguous series of zero or more valid channel messages. Each of these messages MUST be of a size in bytes that is divisible by four. The payload MUST be one of the channel messages as described in section 2.2.7.