Awa LWM2M C API (0.2.5)  
Functions
AwaServerWriteOperation_AddValueAs___Array

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

Functions

AwaError AwaServerWriteOperation_AddValueAsStringArray (AwaServerWriteOperation *operation, const char *path, const AwaStringArray *array)
 
AwaError AwaServerWriteOperation_AddValueAsIntegerArray (AwaServerWriteOperation *operation, const char *path, const AwaIntegerArray *array)
 
AwaError AwaServerWriteOperation_AddValueAsFloatArray (AwaServerWriteOperation *operation, const char *path, const AwaFloatArray *array)
 
AwaError AwaServerWriteOperation_AddValueAsBooleanArray (AwaServerWriteOperation *operation, const char *path, const AwaBooleanArray *array)
 
AwaError AwaServerWriteOperation_AddValueAsTimeArray (AwaServerWriteOperation *operation, const char *path, const AwaTimeArray *array)
 
AwaError AwaServerWriteOperation_AddValueAsOpaqueArray (AwaServerWriteOperation *operation, const char *path, const AwaOpaqueArray *array)
 
AwaError AwaServerWriteOperation_AddValueAsObjectLinkArray (AwaServerWriteOperation *operation, const char *path, const AwaObjectLinkArray *array)
 

Detailed Description

Adds a path and array of values to a Write 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 AwaServerWriteOperation_AddValueAsStringArray ( AwaServerWriteOperation *  operation,
const char *  path,
const AwaStringArray array 
)
AwaError AwaServerWriteOperation_AddValueAsIntegerArray ( AwaServerWriteOperation *  operation,
const char *  path,
const AwaIntegerArray array 
)
AwaError AwaServerWriteOperation_AddValueAsFloatArray ( AwaServerWriteOperation *  operation,
const char *  path,
const AwaFloatArray array 
)
AwaError AwaServerWriteOperation_AddValueAsBooleanArray ( AwaServerWriteOperation *  operation,
const char *  path,
const AwaBooleanArray array 
)
AwaError AwaServerWriteOperation_AddValueAsTimeArray ( AwaServerWriteOperation *  operation,
const char *  path,
const AwaTimeArray array 
)
AwaError AwaServerWriteOperation_AddValueAsOpaqueArray ( AwaServerWriteOperation *  operation,
const char *  path,
const AwaOpaqueArray array 
)
AwaError AwaServerWriteOperation_AddValueAsObjectLinkArray ( AwaServerWriteOperation *  operation,
const char *  path,
const AwaObjectLinkArray array 
)