#[unsafe(no_mangle)]pub extern "C" fn pamoja_lora_airtime_us(
link: PamojaLoraLink,
payload_len: usize,
) -> u64Expand description
Returns the time on air of a payload, in microseconds.
This is the channel occupancy a transmission costs: how long the radio holds the air, which sets both the duty-cycle budget and most of the energy the transmission spends.
§Arguments
link- the link settings.payload_len- the payload length in bytes.
§Returns
The time on air in microseconds.