Skip to main content

pamoja_lora_plan_info

Function pamoja_lora_plan_info 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_lora_plan_info( plan: *const PamojaLoraPlan, out_info: *mut PamojaLoraPlanInfo, ) -> PamojaStatus
Expand description

Reads the scalar facts of a plan in one call.

§Arguments

  • plan - the plan to read.
  • out_info - set to the plan’s scalars on success.

§Returns

PamojaStatus::Ok on success.

§Errors

Returns PamojaStatus::InvalidArgument if either pointer is null.

§Safety

plan must be a live plan handle and out_info must point at writable storage for one PamojaLoraPlanInfo.