#[unsafe(no_mangle)]pub extern "C" fn pamoja_sx127x_tx_power_under_ceiling(
pa_boost: bool,
budget: PamojaLoraLinkBudget,
eirp_ceiling_centi_dbm: i32,
) -> PamojaSx127xTxPowerExpand description
Returns the SX127x amplifier settings that keep a link’s EIRP at or under a ceiling.
§Arguments
pa_boost-truefor the PA_BOOST output,falsefor RFO.budget- the link budget, whose transmitting antenna and cable apply.eirp_ceiling_centi_dbm- the EIRP limit in hundredths of a dBm.
§Returns
The settings, rounded down to whole decibels.