Awa LWM2M C API (0.2.5)  
Functions
AwaClientSetOperation_AddValueAs___Array

Adds a path and array of values to a Set Operation, as a request to change a multiple-instance resource to the specified value. More...

Functions

AwaError AwaClientSetOperation_AddValueAsStringArray (AwaClientSetOperation *operation, const char *path, const AwaStringArray *array)
 
AwaError AwaClientSetOperation_AddValueAsIntegerArray (AwaClientSetOperation *operation, const char *path, const AwaIntegerArray *array)
 
AwaError AwaClientSetOperation_AddValueAsFloatArray (AwaClientSetOperation *operation, const char *path, const AwaFloatArray *array)
 
AwaError AwaClientSetOperation_AddValueAsBooleanArray (AwaClientSetOperation *operation, const char *path, const AwaBooleanArray *array)
 
AwaError AwaClientSetOperation_AddValueAsTimeArray (AwaClientSetOperation *operation, const char *path, const AwaTimeArray *array)
 
AwaError AwaClientSetOperation_AddValueAsOpaqueArray (AwaClientSetOperation *operation, const char *path, const AwaOpaqueArray *array)
 
AwaError AwaClientSetOperation_AddValueAsObjectLinkArray (AwaClientSetOperation *operation, const char *path, const AwaObjectLinkArray *array)
 

Detailed Description

Adds a path and array of values to a Set Operation, as a request to change a multiple-instance resource to the specified value.

The array can be sparse and only contain entries for modification. Existing resource instances that are not replaced remain unmodified.

Parameters
[in]operationThe Set Operation to add the path and value to.
[in]pathThe path of the resource requested for change.
[in]arrayThe new value of the resource, given as a sparse array of resource instances.
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_AddValueAsStringArray ( AwaClientSetOperation *  operation,
const char *  path,
const AwaStringArray array 
)
AwaError AwaClientSetOperation_AddValueAsIntegerArray ( AwaClientSetOperation *  operation,
const char *  path,
const AwaIntegerArray array 
)
AwaError AwaClientSetOperation_AddValueAsFloatArray ( AwaClientSetOperation *  operation,
const char *  path,
const AwaFloatArray array 
)
AwaError AwaClientSetOperation_AddValueAsBooleanArray ( AwaClientSetOperation *  operation,
const char *  path,
const AwaBooleanArray array 
)
AwaError AwaClientSetOperation_AddValueAsTimeArray ( AwaClientSetOperation *  operation,
const char *  path,
const AwaTimeArray array 
)
AwaError AwaClientSetOperation_AddValueAsOpaqueArray ( AwaClientSetOperation *  operation,
const char *  path,
const AwaOpaqueArray array 
)
AwaError AwaClientSetOperation_AddValueAsObjectLinkArray ( AwaClientSetOperation *  operation,
const char *  path,
const AwaObjectLinkArray array 
)