Function anjay_sw_mgmt_pull_suspend
Defined in File sw_mgmt.h
Function Documentation
-
void anjay_sw_mgmt_pull_suspend(anjay_t *anjay)
Suspends the operation of PULL-mode downloads in the Software Management module.
This will have the effect of suspending any ongoing downloads (see anjay_download_suspend for details), as well as preventing new downloads from being started.
When PULL-mode downloads are suspended, anjay_sw_mgmt_stream_open_t will NOT be called when a download request is issued. However, anjay_sw_mgmt_get_security_config_t, anjay_sw_mgmt_get_coap_tx_params_t and anjay_sw_mgmt_get_tcp_request_timeout_t will be called. You may call anjay_sw_mgmt_pull_reconnect from one of these functions if you decide to accept the download immediately after all.
- Parameters:
anjay – Anjay object to operate on.