Anjay Lite
|
#include <defs.h>
Data Fields | |
anj_iid_t | iid |
const anj_dm_res_t * | resources |
uint16_t | res_count |
A struct defining an Object Instance.
anj_iid_t iid |
Object Instance ID.
If the instance is not currently active (i.e., unused slot in the instance array), this field must be set to ANJ_ID_INVALID.
uint16_t res_count |
Number of Resources defined for this Object Instance.
const anj_dm_res_t* resources |
Pointer to the array of Resources belonging to this Object Instance.
If the Object does not define any multi-instance Resources, this array may be shared across all Object Instances.
Resources in this array must be sorted in ascending order by their ID value. The resource list must remain constant throughout the lifetime of this Object Instance — dynamic addition or removal of Resources at runtime is not supported.
If res_count is not equal to 0, this field must not be NULL.