Skip to main content

pamoja_mavlink_frame_is_signed

Function pamoja_mavlink_frame_is_signed 

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

Reports whether a frame carries a signature.

A signature only says the frame was signed, not that the signature is good; pamoja_mavlink_verifier_verify decides that.

§Arguments

  • frame - the frame to read.

§Returns

1 if the frame is signed, 0 otherwise.

§Safety

frame must be a live frame handle, or null.