Fixed WriteProperty bypass which is only for present-value property of commandable objects. (#984)

This commit is contained in:
Steve Karg
2025-05-05 21:48:29 -05:00
committed by GitHub
parent 44d727c13b
commit 0f3cbe3ec5
7 changed files with 123 additions and 24 deletions
+16 -7
View File
@@ -760,14 +760,23 @@ does not support the Priority\_Array property.
## 8.24: Ignore Priority and NULL for Non-Commandable object writes
If a property is writable but not commandable, the device shall process
a WriteProperty, WriteGroup or WritePropertyMultiple request and ignore
the priority parameter if it is included in the request.
Clause 19.2.1.1 Commandable Properties specifies the list of
commandable object properties (only present-value for some objects),
and this table defines the list of commandable objects.
If the priority-array property for the object is optional
and not implemented for an object instance, then the object
is not commandable. The Channel object is commandable and does
not include a priority-array.
If an attempt is made to relinquish a property that is not commandable
and for which Null is not a supported datatype and no other error conditions
exist, the property shall not be changed, and the write shall be considered
successful [PR 21+].
If any property is writable but the object is not commandable
(does not contain a priority-array or is a Channel object),
the device shall process a WriteProperty, WriteGroup or
WritePropertyMultiple request and ignore the priority parameter
if it is included in the request.
If an attempt is made to relinquish a present-value property but
the object is not commandable, the property shall not be changed,
and the write shall be considered successful [PR 21+].
## 8.25: Server devices are required to support all COV lifetime values up to 8 hours (28800 seconds)