Struct anjay_sw_mgmt_handlers_t

Struct Documentation

struct anjay_sw_mgmt_handlers_t

Public Members

anjay_sw_mgmt_stream_open_t *stream_open

Opens the stream that will be used to write the software package to; anjay_sw_mgmt_stream_open_t

anjay_sw_mgmt_stream_write_t *stream_write

Writes data to the download stream; anjay_sw_mgmt_stream_write_t

anjay_sw_mgmt_stream_finish_t *stream_finish

Closes the download stream; anjay_sw_mgmt_stream_finish_t

anjay_sw_mgmt_check_integrity_t *check_integrity

Prepares the software package to be installed and checks its integrity; anjay_sw_mgmt_check_integrity_t

anjay_sw_mgmt_reset_t *reset

Resets the software installation state and performs any applicable cleanup of temporary storage if necessary; anjay_sw_mgmt_reset_t

anjay_sw_mgmt_get_name_t *get_name

Returns the name of downloaded software package; anjay_sw_mgmt_get_name_t

anjay_sw_mgmt_get_version_t *get_version

Returns the version of downloaded software package; anjay_sw_mgmt_get_version_t

anjay_sw_mgmt_pkg_install_t *pkg_install

Installs downloaded software package; anjay_sw_mgmt_pkg_install_t

anjay_sw_mgmt_pkg_uninstall_t *pkg_uninstall

Uninstalls software package; anjay_sw_mgmt_pkg_uninstall_t

anjay_sw_mgmt_prepare_for_update_t *prepare_for_update

Prepares software package for update process; anjay_sw_mgmt_prepare_for_update_t

anjay_sw_mgmt_activate_t *activate

Activates software package; anjay_sw_mgmt_activate_t

anjay_sw_mgmt_deactivate_t *deactivate

Deactivates software package; anjay_sw_mgmt_deactivate_t

anjay_sw_mgmt_get_security_config_t *get_security_config

Queries security configuration that shall be used for an encrypted connection; anjay_sw_mgmt_get_security_config_t

anjay_sw_mgmt_get_tcp_request_timeout_t *get_tcp_request_timeout

Queries request timeout to be used during software download over CoAP+TCP or HTTP; anjay_sw_mgmt_get_tcp_request_timeout_t

anjay_sw_mgmt_get_coap_tx_params_t *get_coap_tx_params

Queries CoAP transmission parameters to be used during download process; anjay_sw_mgmt_get_coap_tx_params_t

anjay_sw_mgmt_add_handler_t *add_handler

Accepts or rejects server’s request to create a new instance of Software Management object; anjay_sw_mgmt_add_handler_t

anjay_sw_mgmt_remove_handler_t *remove_handler

Accepts or rejects server’s request to remove an instance of Software Management object; anjay_sw_mgmt_remove_handler_t