2.2.1 Shared Message Header (SHARED_MSG_HEADER)
The SHARED_MSG_HEADER structure is a common header included in every message of the protocol.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Version |
MessageId |
Version (1 byte): An 8-bit unsigned integer that specifies the protocol version of the message. This field MUST be set to either 1 or 2.
MessageId (1 byte): An 8-bit unsigned integer that specifies the type of the message.
-
Value
Meaning
SuccessResponse
0x01
A Success Response (section 2.2.3.1) message.
ErrorResponse
0x02
An Error Response (section 2.2.3.2) message.
SelectVersionRequest
0x03
A Select Version Request (section 2.2.2.1) message.
SelectVersionResponse
0x04
A Select Version Response (section 2.2.2.2) message.
DeviceAddedNotification
0x05
A Device Added Notification (section 2.2.2.3) message.
DeviceRemovedNotification
0x06
A Device Removed Notification (section 2.2.2.4) message.
ActivateDeviceRequest
0x07
An Activate Device Request (section 2.2.3.3) message.
DeactivateDeviceRequest
0x08
A Deactivate Device Request (section 2.2.3.4) message.
StreamListRequest
0x09
A Stream List Request (section 2.2.3.5) message.
StreamListResponse
0x0A
A Stream List Response (section 2.2.3.6) message.
MediaTypeListRequest
0x0B
A Media Type List Request (section 2.2.3.7) message.
MediaTypeListResponse
0x0C
A Media Type List Response (section 2.2.3.8) message.
CurrentMediaTypeRequest
0x0D
A Current Media Type Request (section 2.2.3.9) message.
CurrentMediaTypeResponse
0x0E
A Current Media Type Response (section 2.2.3.10) message.
StartStreamsRequest
0x0F
A Start Streams Request (section 2.2.3.11) message.
StopStreamsRequest
0x10
A Stop Streams Request (section 2.2.3.12) message.
SampleRequest
0x11
A Sample Request (section 2.2.3.13) message.
SampleResponse
0x12
A Sample Response (section 2.2.3.14) message.
SampleErrorResponse
0x13
A Sample Error Response (section 2.2.3.15) message.
PropertyListRequest
0x14
A Property List Request (section 2.2.3.16) message. This message is supported only by version 2 of the protocol.
PropertyListResponse
0x15
A Property List Response (section 2.2.3.17) message. This message is supported only by version 2 of the protocol.
PropertyValueRequest
0x16
A Property Value Request (section 2.2.3.18) message. This message is supported only by version 2 of the protocol.
PropertyValueResponse
0x17
A Property Value Response (section 2.2.3.19) message. This message is supported only by version 2 of the protocol.
SetPropertyValueRequest
0x18
A Set Property Value Request (section 2.2.3.20) message. This message is supported only by version 2 of the protocol.
-