2.2.3.20 Set Property Value Request

The Set Property Value Request message is sent by the server over a device channel to set the current value of the specified device property of the video capture device or to switch the property between manual and automatic mode. In response the client MUST send either the Success Response (section 2.2.3.1) or Error Response (section 2.2.3.2) message.


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

Header

PropertySet

PropertyId

PropertyValue

...

Header (2 bytes): A SHARED_MSG_HEADER (section 2.2.1) structure. The Version field MUST be set to the same value as in the Select Version Response (section 2.2.2.2) message. The MessageId field MUST be set to SetPropertyValueRequest (24).

PropertySet (1 byte): An 8-bit unsigned integer that specifies the property set of the property being queried. Valid property sets are defined in the description of the PropertySet field of the PROPERTY_DESCRIPTION (section 2.2.3.17.1) structure.

PropertyId (1 byte): An 8-bit unsigned integer that specifies the ID of the property being queried. Valid IDs are defined in the description of the PropertyId field of the PROPERTY_DESCRIPTION structure.

PropertyValue (5 bytes): A PROPERTY_VALUE (section 2.2.3.19.1) structure. If the Mode field is set to Auto (2) the Value field MUST be ignored.