Function anjay_fw_update_pull_suspend
Defined in File fw_update.h
Function Documentation
-
void anjay_fw_update_pull_suspend(anjay_t *anjay)
Suspends the operation of PULL-mode downloads in the Firmware Update 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_fw_update_stream_open_t will NOT be called when a download request is issued. However, anjay_fw_update_get_security_config_t, anjay_fw_update_get_coap_tx_params_t and anjay_fw_update_get_tcp_request_timeout_t will be called. You may call anjay_fw_update_pull_reconnect from one of these functions if you decide to accept the download immediately after all.
- Parameters:
anjay – Anjay object to operate on.