#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_mavlink_frame_signature(
frame: *const PamojaMavlinkFrame,
out_signature: *mut u8,
) -> PamojaStatusExpand description
Copies a frame’s signature block out.
§Arguments
frame- the frame to read.out_signature- filled withPAMOJA_MAVLINK_SIGNATURE_LENbytes on success.
§Returns
PamojaStatus::Ok on success.
§Errors
Returns PamojaStatus::InvalidArgument if either pointer is null, and
PamojaStatus::Unsupported if the frame carries no signature.
§Safety
frame must be a live frame handle and out_signature must point at writable
storage for PAMOJA_MAVLINK_SIGNATURE_LEN bytes.