Function anj_dm_server_obj_restore

Function Documentation

int anj_dm_server_obj_restore(anj_dm_server_obj_t *server_obj_ctx, const anj_persistence_context_t *ctx)

Deserializes the LwM2M Server Object from the persistence stream.

Reads Server Object instance and its resources from the underlying medium via ctx->read.

Parameters:
Returns:

0 on success, negative value on error.