3.2.5.20 Processing a Set Property Value Request

The structure and fields of the Set Property Value Request message are specified in section 2.2.3.20.

After receiving this message, the client parses it to obtain the PropertySet and PropertyId values and the PROPERTY_VALUE (section 2.2.3.19.1) structure. The PropertySet and PropertyId values are used to locate the device property. Next, the specified property value is set according to the received PROPERTY_VALUE structure.

Upon success the client MUST respond with a Success Response (section 2.2.3.1) message.

Upon failure, the client MUST respond with an Error Response (section 2.2.3.2) message. The value of the ErrorCode field MUST be set to one of the error codes supported in the current protocol version (section 2.2.3.2).

Malformed and out-of-sequence messages are handled as specified in section 3.2.5.