Awa LWM2M C API (0.2.5)  
Functions
AwaClientSetOperation_AddValueAs___

Adds a path and value to a Set Operation, as a request to change the resource to the specified value. More...

Functions

AwaError AwaClientSetOperation_AddValueAsCString (AwaClientSetOperation *operation, const char *path, const char *value)
 
AwaError AwaClientSetOperation_AddValueAsInteger (AwaClientSetOperation *operation, const char *path, AwaInteger value)
 
AwaError AwaClientSetOperation_AddValueAsFloat (AwaClientSetOperation *operation, const char *path, AwaFloat value)
 
AwaError AwaClientSetOperation_AddValueAsBoolean (AwaClientSetOperation *operation, const char *path, AwaBoolean value)
 
AwaError AwaClientSetOperation_AddValueAsTime (AwaClientSetOperation *operation, const char *path, AwaTime value)
 
AwaError AwaClientSetOperation_AddValueAsOpaque (AwaClientSetOperation *operation, const char *path, AwaOpaque value)
 
AwaError AwaClientSetOperation_AddValueAsObjectLink (AwaClientSetOperation *operation, const char *path, AwaObjectLink value)
 

Detailed Description

Adds a path and value to a Set Operation, as a request to change the resource to the specified value.

Parameters
[in]operationThe Set Operation to add the path and value to.
[in]pathThe path of the resource requested for change.
[in]valueThe 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.

Function Documentation

AwaError AwaClientSetOperation_AddValueAsCString ( AwaClientSetOperation *  operation,
const char *  path,
const char *  value 
)
AwaError AwaClientSetOperation_AddValueAsInteger ( AwaClientSetOperation *  operation,
const char *  path,
AwaInteger  value 
)
AwaError AwaClientSetOperation_AddValueAsFloat ( AwaClientSetOperation *  operation,
const char *  path,
AwaFloat  value 
)
AwaError AwaClientSetOperation_AddValueAsBoolean ( AwaClientSetOperation *  operation,
const char *  path,
AwaBoolean  value 
)
AwaError AwaClientSetOperation_AddValueAsTime ( AwaClientSetOperation *  operation,
const char *  path,
AwaTime  value 
)
AwaError AwaClientSetOperation_AddValueAsOpaque ( AwaClientSetOperation *  operation,
const char *  path,
AwaOpaque  value 
)
AwaError AwaClientSetOperation_AddValueAsObjectLink ( AwaClientSetOperation *  operation,
const char *  path,
AwaObjectLink  value 
)