#include <anj/init.h>
#include <stddef.h>
#include <stdint.h>
#include <anj/core.h>
#include <anj/defs.h>
#include <anj/dm/core.h>
Go to the source code of this file.
◆ ANJ_DM_SERVER_OBJ_BINDINGS
#define ANJ_DM_SERVER_OBJ_BINDINGS "UMHTSN" |
◆ anj_dm_server_obj_add_instance()
Adds new Instance of Server Object. After calling anj_dm_server_obj_install, this function cannot be called.
- Parameters
-
server_obj_ctx | Context of the Server Object. |
instance | Server Instance to insert. |
- Returns
- 0 in case of success, negative value in case of error.
◆ anj_dm_server_obj_init()
Initializes the Server Object context. Call this function only once before any other operation on the Server Object.
- Parameters
-
server_obj_ctx | Context of the Server Object. |
◆ anj_dm_server_obj_install()
Installs the Server Object into the Static Data Model.
After calling this function, new Instance can be added only by LwM2M Bootstrap Server.
- Parameters
-
anj | Anjay object to operate on. |
server_obj_ctx | Context of the Server Object. |
- Returns
- 0 in case of success, negative value in case of error.