Provides declarations and definitions that are common to the Awa LWM2M API and Static API.
More...
|
AwaStringArray * | AwaStringArray_New (void) |
|
AwaIntegerArray * | AwaIntegerArray_New (void) |
|
AwaFloatArray * | AwaFloatArray_New (void) |
|
AwaBooleanArray * | AwaBooleanArray_New (void) |
|
AwaOpaqueArray * | AwaOpaqueArray_New (void) |
|
AwaTimeArray * | AwaTimeArray_New (void) |
|
AwaObjectLinkArray * | AwaObjectLinkArray_New (void) |
|
void | AwaStringArray_Free (AwaStringArray **array) |
|
void | AwaIntegerArray_Free (AwaIntegerArray **array) |
|
void | AwaFloatArray_Free (AwaFloatArray **array) |
|
void | AwaBooleanArray_Free (AwaBooleanArray **array) |
|
void | AwaOpaqueArray_Free (AwaOpaqueArray **array) |
|
void | AwaTimeArray_Free (AwaTimeArray **array) |
|
void | AwaObjectLinkArray_Free (AwaObjectLinkArray **array) |
|
void | AwaStringArray_SetValueAsCString (AwaStringArray *array, AwaArrayIndex index, const char *value) |
|
void | AwaIntegerArray_SetValue (AwaIntegerArray *array, AwaArrayIndex index, AwaInteger value) |
|
void | AwaFloatArray_SetValue (AwaFloatArray *array, AwaArrayIndex index, AwaFloat value) |
|
void | AwaBooleanArray_SetValue (AwaBooleanArray *array, AwaArrayIndex index, AwaBoolean value) |
|
void | AwaOpaqueArray_SetValue (AwaOpaqueArray *array, AwaArrayIndex index, AwaOpaque value) |
|
void | AwaTimeArray_SetValue (AwaTimeArray *array, AwaArrayIndex index, AwaTime value) |
|
void | AwaObjectLinkArray_SetValue (AwaObjectLinkArray *array, AwaArrayIndex index, AwaObjectLink value) |
|
void | AwaStringArray_DeleteValue (AwaStringArray *array, AwaArrayIndex index) |
|
void | AwaIntegerArray_DeleteValue (AwaIntegerArray *array, AwaArrayIndex index) |
|
void | AwaFloatArray_DeleteValue (AwaFloatArray *array, AwaArrayIndex index) |
|
void | AwaBooleanArray_DeleteValue (AwaBooleanArray *array, AwaArrayIndex index) |
|
void | AwaOpaqueArray_DeleteValue (AwaOpaqueArray *array, AwaArrayIndex index) |
|
void | AwaTimeArray_DeleteValue (AwaTimeArray *array, AwaArrayIndex index) |
|
void | AwaObjectLinkArray_DeleteValue (AwaObjectLinkArray *array, AwaArrayIndex index) |
|
const char * | AwaStringArray_GetValueAsCString (const AwaStringArray *array, AwaArrayIndex index) |
|
AwaInteger | AwaIntegerArray_GetValue (const AwaIntegerArray *array, AwaArrayIndex index) |
|
AwaFloat | AwaFloatArray_GetValue (const AwaFloatArray *array, AwaArrayIndex index) |
|
AwaBoolean | AwaBooleanArray_GetValue (const AwaBooleanArray *array, AwaArrayIndex index) |
|
AwaOpaque | AwaOpaqueArray_GetValue (const AwaOpaqueArray *array, AwaArrayIndex index) |
|
AwaTime | AwaTimeArray_GetValue (const AwaTimeArray *array, AwaArrayIndex index) |
|
AwaObjectLink | AwaObjectLinkArray_GetValue (const AwaObjectLinkArray *array, AwaArrayIndex index) |
|
size_t | AwaStringArray_GetValueCount (const AwaStringArray *array) |
|
size_t | AwaIntegerArray_GetValueCount (const AwaIntegerArray *array) |
|
size_t | AwaFloatArray_GetValueCount (const AwaFloatArray *array) |
|
size_t | AwaBooleanArray_GetValueCount (const AwaBooleanArray *array) |
|
size_t | AwaOpaqueArray_GetValueCount (const AwaOpaqueArray *array) |
|
size_t | AwaTimeArray_GetValueCount (const AwaTimeArray *array) |
|
size_t | AwaObjectLinkArray_GetValueCount (const AwaObjectLinkArray *array) |
|
AwaCStringArrayIterator * | AwaStringArray_NewCStringArrayIterator (const AwaStringArray *array) |
|
AwaIntegerArrayIterator * | AwaIntegerArray_NewIntegerArrayIterator (const AwaIntegerArray *array) |
|
AwaFloatArrayIterator * | AwaFloatArray_NewFloatArrayIterator (const AwaFloatArray *array) |
|
AwaBooleanArrayIterator * | AwaBooleanArray_NewBooleanArrayIterator (const AwaBooleanArray *array) |
|
AwaOpaqueArrayIterator * | AwaOpaqueArray_NewOpaqueArrayIterator (const AwaOpaqueArray *array) |
|
AwaTimeArrayIterator * | AwaTimeArray_NewTimeArrayIterator (const AwaTimeArray *array) |
|
AwaObjectLinkArrayIterator * | AwaObjectLinkArray_NewObjectLinkArrayIterator (const AwaObjectLinkArray *array) |
|
bool | AwaStringArray_IsValid (const AwaStringArray *array, AwaArrayIndex index) |
|
bool | AwaIntegerArray_IsValid (const AwaIntegerArray *array, AwaArrayIndex index) |
|
bool | AwaFloatArray_IsValid (const AwaFloatArray *array, AwaArrayIndex index) |
|
bool | AwaBooleanArray_IsValid (const AwaBooleanArray *array, AwaArrayIndex index) |
|
bool | AwaOpaqueArray_IsValid (const AwaOpaqueArray *array, AwaArrayIndex index) |
|
bool | AwaTimeArray_IsValid (const AwaTimeArray *array, AwaArrayIndex index) |
|
bool | AwaObjectLinkArray_IsValid (const AwaObjectLinkArray *array, AwaArrayIndex index) |
|
bool | AwaCStringArrayIterator_Next (AwaCStringArrayIterator *iterator) |
|
bool | AwaIntegerArrayIterator_Next (AwaIntegerArrayIterator *iterator) |
|
bool | AwaFloatArrayIterator_Next (AwaFloatArrayIterator *iterator) |
|
bool | AwaBooleanArrayIterator_Next (AwaBooleanArrayIterator *iterator) |
|
bool | AwaOpaqueArrayIterator_Next (AwaOpaqueArrayIterator *iterator) |
|
bool | AwaTimeArrayIterator_Next (AwaTimeArrayIterator *iterator) |
|
bool | AwaObjectLinkArrayIterator_Next (AwaObjectLinkArrayIterator *iterator) |
|
AwaArrayIndex | AwaCStringArrayIterator_GetIndex (const AwaCStringArrayIterator *iterator) |
|
AwaArrayIndex | AwaIntegerArrayIterator_GetIndex (const AwaIntegerArrayIterator *iterator) |
|
AwaArrayIndex | AwaFloatArrayIterator_GetIndex (const AwaFloatArrayIterator *iterator) |
|
AwaArrayIndex | AwaBooleanArrayIterator_GetIndex (const AwaBooleanArrayIterator *iterator) |
|
AwaArrayIndex | AwaOpaqueArrayIterator_GetIndex (const AwaOpaqueArrayIterator *iterator) |
|
AwaArrayIndex | AwaTimeArrayIterator_GetIndex (const AwaTimeArrayIterator *iterator) |
|
AwaArrayIndex | AwaObjectLinkArrayIterator_GetIndex (const AwaObjectLinkArrayIterator *iterator) |
|
const char * | AwaCStringArrayIterator_GetValueAsCString (const AwaCStringArrayIterator *iterator) |
|
AwaInteger | AwaIntegerArrayIterator_GetValue (const AwaIntegerArrayIterator *iterator) |
|
AwaFloat | AwaFloatArrayIterator_GetValue (const AwaFloatArrayIterator *iterator) |
|
AwaBoolean | AwaBooleanArrayIterator_GetValue (const AwaBooleanArrayIterator *iterator) |
|
AwaOpaque | AwaOpaqueArrayIterator_GetValue (const AwaOpaqueArrayIterator *iterator) |
|
AwaTime | AwaTimeArrayIterator_GetValue (const AwaTimeArrayIterator *iterator) |
|
AwaObjectLink | AwaObjectLinkArrayIterator_GetValue (const AwaObjectLinkArrayIterator *iterator) |
|
void | AwaCStringArrayIterator_Free (AwaCStringArrayIterator **iterator) |
|
void | AwaIntegerArrayIterator_Free (AwaIntegerArrayIterator **iterator) |
|
void | AwaFloatArrayIterator_Free (AwaFloatArrayIterator **iterator) |
|
void | AwaBooleanArrayIterator_Free (AwaBooleanArrayIterator **iterator) |
|
void | AwaOpaqueArrayIterator_Free (AwaOpaqueArrayIterator **iterator) |
|
void | AwaTimeArrayIterator_Free (AwaTimeArrayIterator **iterator) |
|
void | AwaObjectLinkArrayIterator_Free (AwaObjectLinkArrayIterator **iterator) |
|
AwaObjectDefinition * | AwaObjectDefinition_New (AwaObjectID objectID, const char *objectName, int minimumInstances, int maximumInstances) |
| Define object metadata against an Object ID. More...
|
|
void | AwaObjectDefinition_Free (AwaObjectDefinition **objectDefinition) |
| Clean up an Object Definition, freeing all allocated resources. More...
|
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsNoType (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, bool isMandatory, AwaResourceOperations operations) |
| Add a Resource Definition to an existing Object Definition. More...
|
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsString (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, bool isMandatory, AwaResourceOperations operations, const char *defaultValue) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsInteger (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, bool isMandatory, AwaResourceOperations operations, AwaInteger defaultValue) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsFloat (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, bool isMandatory, AwaResourceOperations operations, AwaFloat defaultValue) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsBoolean (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, bool isMandatory, AwaResourceOperations operations, AwaBoolean defaultValue) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsOpaque (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, bool isMandatory, AwaResourceOperations operations, AwaOpaque defaultValue) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsTime (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, bool isMandatory, AwaResourceOperations operations, AwaTime defaultValue) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsObjectLink (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, bool isMandatory, AwaResourceOperations operations, AwaObjectLink defaultValue) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsStringArray (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, int minimumInstances, int maximumInstances, AwaResourceOperations operations, const AwaStringArray *defaultArray) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsIntegerArray (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, int minimumInstances, int maximumInstances, AwaResourceOperations operations, const AwaIntegerArray *defaultArray) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsFloatArray (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, int minimumInstances, int maximumInstances, AwaResourceOperations operations, const AwaFloatArray *defaultArray) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsBooleanArray (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, int minimumInstances, int maximumInstances, AwaResourceOperations operations, const AwaBooleanArray *defaultArray) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsTimeArray (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, int minimumInstances, int maximumInstances, AwaResourceOperations operations, const AwaTimeArray *defaultArray) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsOpaqueArray (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, int minimumInstances, int maximumInstances, AwaResourceOperations operations, const AwaOpaqueArray *defaultArray) |
|
AwaError | AwaObjectDefinition_AddResourceDefinitionAsObjectLinkArray (AwaObjectDefinition *objectDefinition, AwaResourceID resourceID, const char *resourceName, int minimumInstances, int maximumInstances, AwaResourceOperations operations, const AwaObjectLinkArray *defaultArray) |
|
AwaObjectID | AwaObjectDefinition_GetID (const AwaObjectDefinition *objectDefinition) |
| Retrieve the unique ID of an Object Definition. More...
|
|
const char * | AwaObjectDefinition_GetName (const AwaObjectDefinition *objectDefinition) |
| Retrieve the name of an Object Definition. More...
|
|
int | AwaObjectDefinition_GetMinimumInstances (const AwaObjectDefinition *objectDefinition) |
| Retrieve the minimum number of instances which can be created for an Object Definition. More...
|
|
int | AwaObjectDefinition_GetMaximumInstances (const AwaObjectDefinition *objectDefinition) |
| Retrieve the maximum number of instances which can be created for an Object Definition. More...
|
|
bool | AwaObjectDefinition_IsResourceDefined (const AwaObjectDefinition *objectDefinition, AwaResourceID resourceID) |
| Determine whether a Resource Definition exists within an Object Definition for the specified ID. More...
|
|
const AwaResourceDefinition * | AwaObjectDefinition_GetResourceDefinition (const AwaObjectDefinition *objectDefinition, AwaResourceID resourceID) |
| Retrieve a Resource Definition from an Object Definition using a resource ID. More...
|
|
bool | AwaObjectDefinitionIterator_Next (AwaObjectDefinitionIterator *iterator) |
| Determine whether the Object Definition iterator has not reached the end of a set of Object Definitions. More...
|
|
const AwaObjectDefinition * | AwaObjectDefinitionIterator_Get (const AwaObjectDefinitionIterator *iterator) |
| Retrieve the current Object Definition from an Object Definition iterator. More...
|
|
void | AwaObjectDefinitionIterator_Free (AwaObjectDefinitionIterator **iterator) |
| Clean up an Object Definition iterator, freeing all allocated resources. More...
|
|
AwaResourceID | AwaResourceDefinition_GetID (const AwaResourceDefinition *resourceDefinition) |
| Retrieve the unique ID of a Resource Definition. More...
|
|
AwaResourceType | AwaResourceDefinition_GetType (const AwaResourceDefinition *resourceDefinition) |
| Retrieve the resource type of a Resource Definition. More...
|
|
const char * | AwaResourceDefinition_GetName (const AwaResourceDefinition *resourceDefinition) |
| Retrieve the name of a Resource Definition. More...
|
|
int | AwaResourceDefinition_GetMinimumInstances (const AwaResourceDefinition *resourceDefinition) |
| Retrieve the minimum number of instances which can be created for an Resource Definition. More...
|
|
int | AwaResourceDefinition_GetMaximumInstances (const AwaResourceDefinition *resourceDefinition) |
| Retrieve the maximum number of instances which can be created for an Resource Definition. More...
|
|
AwaResourceOperations | AwaResourceDefinition_GetSupportedOperations (const AwaResourceDefinition *resourceDefinition) |
| Retrieve the supported operations for an Resource Definition. More...
|
|
bool | AwaResourceDefinition_IsMandatory (const AwaResourceDefinition *resourceDefinition) |
| Determine whether or not a Resource Definition is mandatory. More...
|
|
AwaResourceDefinitionIterator * | AwaObjectDefinition_NewResourceDefinitionIterator (const AwaObjectDefinition *objectDefinition) |
| Retrieves a new Resource Definition iterator that can be used to iterate through the set of defined resources within an Object Definition. More...
|
|
bool | AwaResourceDefinitionIterator_Next (AwaResourceDefinitionIterator *iterator) |
| Determine whether the Resource Definition iterator has not reached the end of a set of Resource Definitions. More...
|
|
const AwaResourceDefinition * | AwaResourceDefinitionIterator_Get (const AwaResourceDefinitionIterator *iterator) |
| Retrieve the current Resource Definition from an Resource Definition iterator. More...
|
|
void | AwaResourceDefinitionIterator_Free (AwaResourceDefinitionIterator **iterator) |
| Clean up an Resource Definition iterator, freeing all allocated resources. More...
|
|
bool | AwaPathIterator_Next (AwaPathIterator *iterator) |
| Determine whether the Path Iterator has not reached the end of a set of paths. More...
|
|
const char * | AwaPathIterator_Get (const AwaPathIterator *iterator) |
| Retrieve the current path from a Path Iterator. More...
|
|
void | AwaPathIterator_Free (AwaPathIterator **iterator) |
| Clean up a Path Iterator, freeing all allocated resources. More...
|
|
AwaError | AwaAPI_MakeObjectPath (char *path, size_t pathSize, AwaObjectID objectID) |
| Construct a path from an object ID. More...
|
|
AwaError | AwaAPI_MakeObjectInstancePath (char *path, size_t pathSize, AwaObjectID objectID, AwaObjectInstanceID objectInstanceID) |
| Construct a path from an object and object instance ID. More...
|
|
AwaError | AwaAPI_MakeResourcePath (char *path, size_t pathSize, AwaObjectID objectID, AwaObjectInstanceID objectInstanceID, AwaResourceID resourceID) |
| Construct a path from an object, object instance, and resource ID. More...
|
|
AwaError | AwaAPI_MakePath (char *path, size_t pathSize, AwaObjectID objectID, AwaObjectInstanceID objectInstanceID, AwaResourceID resourceID) |
| Construct a path from an object, object instance, and resource ID. More...
|
|
bool | AwaAPI_IsPathValid (const char *path) |
| Check if a path string conforms to the valid path syntax. More...
|
|
AwaError | AwaPathResult_GetError (const AwaPathResult *result) |
| Retrieve an error from a Path Result. More...
|
|
AwaLWM2MError | AwaPathResult_GetLWM2MError (const AwaPathResult *result) |
| Retrieve a LWM2M error from a Path Result. More...
|
|
AwaPathIterator * | AwaChangeSet_NewPathIterator (const AwaChangeSet *changeSet) |
| Create a new Path Iterator for a ChangeSet, used to iterate through the list of resource paths retrieved by the corresponding Change Subscription or Observation. More...
|
|
AwaChangeType | AwaChangeSet_GetChangeType (const AwaChangeSet *changeSet, const char *path) |
| Retrieve the change type for a specified path in a ChangeSet. More...
|
|
bool | AwaChangeSet_HasValue (const AwaChangeSet *changeSet, const char *path) |
| Test if the ChangeSet has a value for the specified resource path. More...
|
|
bool | AwaChangeSet_ContainsPath (const AwaChangeSet *changeSet, const char *path) |
| Test if the ChangeSet has the specified path (resource, object instance or object) present. More...
|
|
AwaResourceType | AwaChangeSet_GetResourceType (const AwaChangeSet *changeSet, const char *path) |
| Get the resource type for the specified change. More...
|
|
AwaError | AwaChangeSet_GetValueAsCStringPointer (const AwaChangeSet *changeSet, const char *path, const char **value) |
|
AwaError | AwaChangeSet_GetValueAsIntegerPointer (const AwaChangeSet *changeSet, const char *path, const AwaInteger **value) |
|
AwaError | AwaChangeSet_GetValueAsFloatPointer (const AwaChangeSet *changeSet, const char *path, const AwaFloat **value) |
|
AwaError | AwaChangeSet_GetValueAsBooleanPointer (const AwaChangeSet *changeSet, const char *path, const AwaBoolean **value) |
|
AwaError | AwaChangeSet_GetValueAsTimePointer (const AwaChangeSet *changeSet, const char *path, const AwaTime **value) |
|
AwaError | AwaChangeSet_GetValueAsObjectLinkPointer (const AwaChangeSet *changeSet, const char *path, const AwaObjectLink **value) |
|
AwaError | AwaChangeSet_GetValueAsOpaquePointer (const AwaChangeSet *changeSet, const char *path, const AwaOpaque **value) |
|
AwaError | AwaChangeSet_GetValueAsOpaque (const AwaChangeSet *changeSet, const char *path, AwaOpaque *value) |
| Retrieve an opaque resource's value from a ChangeSet. More...
|
|
AwaError | AwaChangeSet_GetValueAsObjectLink (const AwaChangeSet *changeSet, const char *path, AwaObjectLink *value) |
| Retrieve an object link resource's value from a ChangeSet. More...
|
|
AwaError | AwaChangeSet_GetValuesAsStringArrayPointer (const AwaChangeSet *changeSet, const char *path, const AwaStringArray **valueArray) |
|
AwaError | AwaChangeSet_GetValuesAsIntegerArrayPointer (const AwaChangeSet *changeSet, const char *path, const AwaIntegerArray **valueArray) |
|
AwaError | AwaChangeSet_GetValuesAsFloatArrayPointer (const AwaChangeSet *changeSet, const char *path, const AwaFloatArray **valueArray) |
|
AwaError | AwaChangeSet_GetValuesAsBooleanArrayPointer (const AwaChangeSet *changeSet, const char *path, const AwaBooleanArray **valueArray) |
|
AwaError | AwaChangeSet_GetValuesAsTimeArrayPointer (const AwaChangeSet *changeSet, const char *path, const AwaTimeArray **valueArray) |
|
AwaError | AwaChangeSet_GetValuesAsOpaqueArrayPointer (const AwaChangeSet *changeSet, const char *path, const AwaOpaqueArray **valueArray) |
|
AwaError | AwaChangeSet_GetValuesAsObjectLinkArrayPointer (const AwaChangeSet *changeSet, const char *path, const AwaObjectLinkArray **valueArray) |
|
AwaLogLevel | AwaLog_SetLevel (AwaLogLevel level) |
| Set the current API log level. More...
|
|