Function anj_dm_fw_update_object_install
Defined in File fw_update.h
Function Documentation
-
int anj_dm_fw_update_object_install(anj_t *anj, anj_dm_fw_update_entity_ctx_t *entity_ctx, anj_dm_fw_update_handlers_t *handlers, void *user_ptr)
Installs Firmware Update Object in data model.
- Parameters:
anj – Anjay object.
entity_ctx – Pointer to a variable that will hold the state of the Object.
handlers – Pointer to a set of handler functions that handle platform-specific parts of firmware update process.
user_ptr – Opaque pointer that will be passed to all callbacks.
- Returns:
0 on success, a non-zero value in case of an error.