#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_mavlink_verifier_set_window(
verifier: *mut PamojaMavlinkVerifier,
window: u64,
) -> PamojaStatusExpand description
Sets how far a timestamp may run ahead of the last one accepted.
A wider window tolerates a noisier link; a narrower one narrows the chance of a replay landing inside it.
§Arguments
verifier- the verifier to set.window- the window in timestamp units, ten microseconds each.
§Returns
PamojaStatus::Ok on success.
§Errors
Returns PamojaStatus::InvalidArgument if verifier is null.
§Safety
verifier must be a live verifier handle.