Skip to main content

pamoja_lora_low_data_rate_optimization

Function pamoja_lora_low_data_rate_optimization 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_lora_low_data_rate_optimization( link: PamojaLoraLink, ) -> bool
Expand description

Reports whether a link uses low data rate optimization.

It is on when a symbol lasts longer than 16 ms, which is SF11 and SF12 at 125 kHz and SF12 at 250 kHz. The airtime assumes it, so a radio set up from these settings must turn it on too.

§Arguments

  • link - the link settings.

§Returns

true when the symbol time exceeds 16 ms.