#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_mavlink_command_on_timeout(
command: *mut PamojaMavlinkCommand,
out_confirmation: *mut u8,
) -> u8Expand description
Records a timeout and reports whether the command may be resent.
On a resend the confirmation count is incremented, so the next call to
pamoja_mavlink_command_confirmation stamps the new value.
§Arguments
command- the tracker.out_confirmation- set to the new confirmation count when a resend is allowed.
§Returns
1 if a retry remains and the command should be resent, 0 once the retry budget is
exhausted or if a pointer is null.
§Safety
command must be a live tracker handle, and out_confirmation must point at writable
storage for one byte.