Function anj_dm_server_obj_store

Function Documentation

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

Serializes the current LwM2M Server Object into the persistence stream.

Writes Server Object instance and its resources to the underlying medium via ctx->write.

Parameters:
Returns:

0 on success, negative value on error.