Function anjay_advanced_fw_update_get_deadline

Function Documentation

avs_time_real_t anjay_advanced_fw_update_get_deadline(anjay_t *anjay, anjay_iid_t iid)

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

Parameters:
  • anjay – Anjay object to operate on.

  • iid – Instance ID of an Advanced Firmware Object.

Returns:

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