Skip to main content

pamoja_mavlink_frame_signature

Function pamoja_mavlink_frame_signature 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_mavlink_frame_signature( frame: *const PamojaMavlinkFrame, out_signature: *mut u8, ) -> PamojaStatus
Expand description

Copies a frame’s signature block out.

§Arguments

§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.