anjay
anjay_sw_mgmt_handlers_t Struct Reference

#include <sw_mgmt.h>

Data Fields

anjay_sw_mgmt_stream_open_tstream_open
 
anjay_sw_mgmt_stream_write_tstream_write
 
anjay_sw_mgmt_stream_finish_tstream_finish
 
anjay_sw_mgmt_check_integrity_tcheck_integrity
 
anjay_sw_mgmt_reset_treset
 
anjay_sw_mgmt_get_name_tget_name
 
anjay_sw_mgmt_get_version_tget_version
 
anjay_sw_mgmt_pkg_install_tpkg_install
 
anjay_sw_mgmt_pkg_uninstall_tpkg_uninstall
 
anjay_sw_mgmt_prepare_for_update_tprepare_for_update
 
anjay_sw_mgmt_activate_tactivate
 
anjay_sw_mgmt_deactivate_tdeactivate
 
anjay_sw_mgmt_get_security_config_tget_security_config
 
anjay_sw_mgmt_get_tcp_request_timeout_tget_tcp_request_timeout
 
anjay_sw_mgmt_get_coap_tx_params_tget_coap_tx_params
 
anjay_sw_mgmt_add_handler_tadd_handler
 
anjay_sw_mgmt_remove_handler_tremove_handler
 

Detailed Description

Experimental:
This is experimental Software Management object API. This API can change in future versions without any notice.

Field Documentation

◆ activate

Activates software package; anjay_sw_mgmt_activate_t

◆ add_handler

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

◆ check_integrity

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

◆ deactivate

Deactivates software package; anjay_sw_mgmt_deactivate_t

◆ get_coap_tx_params

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

◆ get_name

Returns the name of downloaded software package; anjay_sw_mgmt_get_name_t

◆ get_security_config

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

◆ get_tcp_request_timeout

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

◆ get_version

Returns the version of downloaded software package; anjay_sw_mgmt_get_version_t

◆ pkg_install

Installs downloaded software package; anjay_sw_mgmt_pkg_install_t

◆ pkg_uninstall

Uninstalls software package; anjay_sw_mgmt_pkg_uninstall_t

◆ prepare_for_update

Prepares software package for update process; anjay_sw_mgmt_prepare_for_update_t

◆ remove_handler

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

◆ reset

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

◆ stream_finish

Closes the download stream; anjay_sw_mgmt_stream_finish_t

◆ stream_open

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

◆ stream_write

Writes data to the download stream; anjay_sw_mgmt_stream_write_t


The documentation for this struct was generated from the following file: