Adds a path and value to a Write Attributes operation, as a request to change the value of a object, object instance or resource level attribute on the specified path.
More...
Adds a path and value to a Write Attributes operation, as a request to change the value of a object, object instance or resource level attribute on the specified path.
- Parameters
-
[in] | operation | The Write Attributes operation to add the path and attribute value to. |
[in] | clientID | The endpoint name of the client to update the changed attributes. |
[in] | path | The path of the resource requested for change. |
[in] | link | The link identifying which attribute to be set (currently limited to "pmin", "pmax", "gt", "lt", and "stp"). |
[in] | value | The new value of the resource. |
- Returns
- AwaError_Success on success.
-
AwaError_OperationInvalid if the operation is invalid.
-
AwaError_PathInvalid if the specified path is invalid.
-
AwaError_TypeMismatch if the specified path refers to a resource with a non-corresponding type.
-
AwaError_NotDefined if the specified path refers to an object or resource that is not defined.
AwaError AwaServerWriteAttributesOperation_AddAttributeAsInteger |
( |
AwaServerWriteAttributesOperation * |
operation, |
|
|
const char * |
clientID, |
|
|
const char * |
path, |
|
|
const char * |
link, |
|
|
AwaInteger |
value |
|
) |
| |
AwaError AwaServerWriteAttributesOperation_AddAttributeAsFloat |
( |
AwaServerWriteAttributesOperation * |
operation, |
|
|
const char * |
clientID, |
|
|
const char * |
path, |
|
|
const char * |
link, |
|
|
AwaFloat |
value |
|
) |
| |