Awa LWM2M C API (0.2.5)  
Functions
AwaServerWriteOperation_AddValueAs___

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

Functions

AwaError AwaServerWriteOperation_AddValueAsCString (AwaServerWriteOperation *operation, const char *path, const char *value)
 
AwaError AwaServerWriteOperation_AddValueAsInteger (AwaServerWriteOperation *operation, const char *path, AwaInteger value)
 
AwaError AwaServerWriteOperation_AddValueAsFloat (AwaServerWriteOperation *operation, const char *path, AwaFloat value)
 
AwaError AwaServerWriteOperation_AddValueAsBoolean (AwaServerWriteOperation *operation, const char *path, AwaBoolean value)
 
AwaError AwaServerWriteOperation_AddValueAsTime (AwaServerWriteOperation *operation, const char *path, AwaTime value)
 
AwaError AwaServerWriteOperation_AddValueAsOpaque (AwaServerWriteOperation *operation, const char *path, AwaOpaque value)
 
AwaError AwaServerWriteOperation_AddValueAsObjectLink (AwaServerWriteOperation *operation, const char *path, AwaObjectLink value)
 

Detailed Description

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

Parameters
[in]operationThe Write 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 AwaServerWriteOperation_AddValueAsCString ( AwaServerWriteOperation *  operation,
const char *  path,
const char *  value 
)
AwaError AwaServerWriteOperation_AddValueAsInteger ( AwaServerWriteOperation *  operation,
const char *  path,
AwaInteger  value 
)
AwaError AwaServerWriteOperation_AddValueAsFloat ( AwaServerWriteOperation *  operation,
const char *  path,
AwaFloat  value 
)
AwaError AwaServerWriteOperation_AddValueAsBoolean ( AwaServerWriteOperation *  operation,
const char *  path,
AwaBoolean  value 
)
AwaError AwaServerWriteOperation_AddValueAsTime ( AwaServerWriteOperation *  operation,
const char *  path,
AwaTime  value 
)
AwaError AwaServerWriteOperation_AddValueAsOpaque ( AwaServerWriteOperation *  operation,
const char *  path,
AwaOpaque  value 
)
AwaError AwaServerWriteOperation_AddValueAsObjectLink ( AwaServerWriteOperation *  operation,
const char *  path,
AwaObjectLink  value 
)