Function anjay_update_coap_exchange_timeout
Defined in File core.h
Function Documentation
-
avs_error_t anjay_update_coap_exchange_timeout(anjay_t *anjay, anjay_transport_set_t transport_set, avs_time_duration_t exchange_timeout)
Changes the CoAP exchange update timeout for given transports.
- Parameters:
anjay – Anjay object to operate on.
transport_set – Set of transport for which the exchange update timeout should be changed.
exchange_timeout – New exchange update timeout.
- Returns:
AVS_OK in case of success (update timeout has been changed for at least one transport), or an error code.