Skip to main content

pamoja_radio_duty_cycle_new

Function pamoja_radio_duty_cycle_new 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_radio_duty_cycle_new( permille: u32, ) -> *mut PamojaRadioDutyCycle
Expand description

Creates a duty-cycle guard, ready to transmit at once.

§Arguments

  • permille - the limit in parts per thousand, so 10 is 1%; 0 forbids transmitting and 1000 or more imposes no silence.

§Returns

A handle the caller must release with pamoja_radio_duty_cycle_free.