#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_sx127x_high_bw_optimize(
link: PamojaLoraLink,
frequency_hz: u32,
out_optimize: *mut PamojaSx127xHighBwOptimize,
) -> PamojaStatusExpand description
Returns the writes of the 500 kHz sensitivity erratum for a link at a carrier.
§Arguments
link- the link settings, whose bandwidth decides.frequency_hz- the carrier frequency in hertz.out_optimize- receives the writes.
§Returns
PamojaStatus::Ok with *out_optimize set, or PamojaStatus::InvalidArgument if the
SX127x has no such bandwidth or out_optimize is null.
§Safety
out_optimize must point to a writable PamojaSx127xHighBwOptimize, or be null.