Function anjay_fw_update_get_deadline

Function Documentation

avs_time_real_t anjay_fw_update_get_deadline(anjay_t *anjay)

Gets the update deadline based on Maximum Defer Period resource value and time of downloading full firmware.

Parameters:

anjay – Anjay object to operate on.

Returns:

Real time of the update deadline. In case of not deferring update returns AVS_TIME_REAL_INVALID.