Skip to main content

pamoja_sx127x_spurious_reception

Function pamoja_sx127x_spurious_reception 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_sx127x_spurious_reception( link: PamojaLoraLink, out_erratum: *mut PamojaSx127xSpuriousReception, ) -> PamojaStatus
Expand description

Returns the receive settings of the spurious reception erratum for a link.

§Arguments

  • link - the link settings, whose bandwidth decides.
  • out_erratum - receives the settings.

§Returns

PamojaStatus::Ok with *out_erratum set, or PamojaStatus::InvalidArgument if the SX127x has no such bandwidth or out_erratum is null.

§Safety

out_erratum must point to a writable PamojaSx127xSpuriousReception, or be null.