#[unsafe(no_mangle)]pub extern "C" fn pamoja_lora_min_off_time_us(
link: PamojaLoraLink,
payload_len: usize,
duty_cycle_permille: u32,
) -> u64Expand description
Returns the minimum silence after a transmission to honor a duty-cycle limit.
§Arguments
link- the link settings.payload_len- the payload length in bytes.duty_cycle_permille- the limit in parts per thousand, so10is 1%.
§Returns
The required off time in microseconds, or UINT64_MAX if the limit is zero,
which forbids transmitting at all.