#[repr(C)]pub struct PamojaLoraLinkBudget {
pub transmit_power_centi_dbm: i32,
pub transmit_antenna_gain_centi_dbi: i32,
pub transmit_cable_loss_centi_db: i32,
pub receive_antenna_gain_centi_dbi: i32,
pub receive_cable_loss_centi_db: i32,
pub noise_figure_centi_db: i32,
}Expand description
The gains and losses of a LoRa link, from the transmitting radio to the receiving one.
Every field is in hundredths of a decibel, so 1400 is 14 dBm and 215 is 2.15 dBi.
Build one with pamoja_lora_link_budget_default and set the fields a deployment
chooses: the transmit power, the antenna and cable at each end, and the noise figure of
the receiver.
Fields§
§transmit_power_centi_dbm: i32The power the transmitting radio delivers at its antenna port, in hundredths of a dBm.
transmit_antenna_gain_centi_dbi: i32The gain of the transmitting antenna over an isotropic antenna, in hundredths of a dBi.
transmit_cable_loss_centi_db: i32The loss in the cable and connectors between the transmitting radio and its antenna, in hundredths of a dB.
receive_antenna_gain_centi_dbi: i32The gain of the receiving antenna over an isotropic antenna, in hundredths of a dBi.
receive_cable_loss_centi_db: i32The loss in the cable and connectors between the receiving antenna and its radio, in hundredths of a dB.
noise_figure_centi_db: i32The noise figure of the receiver, in hundredths of a dB.
Trait Implementations§
Source§impl Clone for PamojaLoraLinkBudget
impl Clone for PamojaLoraLinkBudget
Source§fn clone(&self) -> PamojaLoraLinkBudget
fn clone(&self) -> PamojaLoraLinkBudget
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more