Struct anj_dm_obj_inst_struct
Defined in File defs.h
Struct Documentation
-
struct anj_dm_obj_inst_struct
Struct defining an Object Instance.
Public Members
-
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.
-
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.
-
uint16_t res_count
Number of Resources defined for this Object Instance.
-
anj_iid_t iid