Skip to main content

pamoja_mavlink_mission_sender_count

Function pamoja_mavlink_mission_sender_count 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_mavlink_mission_sender_count( sender: *const PamojaMavlinkMissionSender, header: PamojaMavlinkHeader, out_frame: *mut *mut PamojaMavlinkFrame, ) -> PamojaStatus
Expand description

Builds the frame that opens an upload.

§Arguments

  • sender - the plan.
  • header - the addressing fields to stamp on the frame.
  • out_frame - set to the MISSION_COUNT frame, which the caller releases with pamoja_mavlink_frame_free.

§Returns

PamojaStatus::Ok on success.

§Errors

Returns PamojaStatus::InvalidArgument if either pointer is null.

§Safety

sender must be a live sender handle, and out_frame must point at writable storage for one pointer.