Skip to main content

pamoja_chirpstack_uplink_reception

Function pamoja_chirpstack_uplink_reception 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_chirpstack_uplink_reception( uplink: *const PamojaChirpstackUplink, index: u32, out_reception: *mut PamojaChirpstackReception, ) -> PamojaStatus
Expand description

Reads one gateway that heard an uplink.

§Arguments

  • uplink - the event.
  • index - the reception’s position, below the count the summary reports.
  • out_reception - receives the reception.

§Returns

PamojaStatus::Ok on success.

§Errors

Returns PamojaStatus::InvalidArgument if a pointer is null or index is past the end.

§Safety

uplink must be a live handle and out_reception writable.