Function anjay_advanced_fw_update_get_state

Function Documentation

int anjay_advanced_fw_update_get_state(anjay_t *anjay, anjay_iid_t iid, anjay_advanced_fw_update_state_t *out_state)

Gets the Advanced Firmware Update object instance State.

Parameters:
  • anjay – Anjay object to operate on.

  • iid – Instance ID of an Advanced Firmware Object.

  • out_state – Pointer to where write output state.

Returns:

0 on success, or a negative value in case of error.