Skip to main content

pamoja_mavlink_command_on_frame

Function pamoja_mavlink_command_on_frame 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_mavlink_command_on_frame( command: *const PamojaMavlinkCommand, frame: *const PamojaMavlinkFrame, out_kind: *mut u32, out_value: *mut u8, ) -> PamojaStatus
Expand description

Classifies an incoming frame against the command in flight.

§Arguments

§Returns

PamojaStatus::Ok on success, including when the frame was ignored.

§Errors

Returns PamojaStatus::InvalidArgument if any pointer is null.

§Safety

command must be a live tracker handle, frame a live frame handle, and each out pointer must point at writable storage for its value.