Struct anj_dm_handlers_struct
Defined in File defs.h
Struct Documentation
-
struct anj_dm_handlers_struct
A struct containing function pointers to Object handlers.
Public Members
-
anj_dm_inst_create_t *inst_create
Creates an Object Instance.
Required to support the LwM2M Create operation.
-
anj_dm_inst_delete_t *inst_delete
Deletes an Object Instance.
Required to support the LwM2M Delete operation targeting an Object Instance.
-
anj_dm_inst_reset_t *inst_reset
Resets an Object Instance to its default state.
Required to support the LwM2M Write operation in Replace mode. If not defined, Replace mode will fail.
-
anj_dm_transaction_begin_t *transaction_begin
Called before any transactional LwM2M operation (Create, Write, Delete) involving this Object.
-
anj_dm_transaction_validate_t *transaction_validate
Called after a transactional operation that modifies this Object.
The return value determines whether the Object’s state is valid and the operation can be completed.
-
anj_dm_transaction_end_t *transaction_end
Called after any transactional operation is completed.
Provides information about the result of the operation.
-
anj_dm_res_read_t *res_read
Reads a Resource value.
Required to support the LwM2M Read operation.
-
anj_dm_res_write_t *res_write
Writes a Resource value.
Required to support the LwM2M Write operation.
-
anj_dm_res_execute_t *res_execute
Executes a Resource.
Required to support the LwM2M Execute operation.
-
anj_dm_res_inst_create_t *res_inst_create
Creates a Resource Instance in a Multiple-Instance Resource.
Required to support the LwM2M Write operation when new instances must be created.
-
anj_dm_res_inst_delete_t *res_inst_delete
Deletes a Resource Instance from a Multiple-Instance Resource.
Required to support:
LwM2M Delete operations targeting individual Resource Instances,
LwM2M Write Replace operations that remove all instances.
-
anj_dm_inst_create_t *inst_create