#[unsafe(no_mangle)]pub extern "C" fn pamoja_sx126x_tx_power_under_ceiling(
high_power: bool,
budget: PamojaLoraLinkBudget,
eirp_ceiling_centi_dbm: i32,
) -> PamojaSx126xTxPowerExpand description
Chooses the amplifier settings that keep a link’s EIRP at or under a ceiling.
§Arguments
high_power-truefor the high power amplifier,falsefor the low power one.budget- the link budget, whose transmitting antenna and cable apply.eirp_ceiling_centi_dbm- the EIRP limit, in hundredths of a dBm.
§Returns
The configuration and the power setting, rounded down to whole decibels.