Skip to main content

pamoja_sx127x_symbol_timeout

Function pamoja_sx127x_symbol_timeout 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx127x_symbol_timeout( link: PamojaLoraLink, timeout_us: u64, ) -> u16
Expand description

Returns the SX127x single reception timeout for a duration, in the link’s symbols.

§Arguments

  • link - the link settings.
  • timeout_us - how long to listen for a preamble, in microseconds.

§Returns

The timeout rounded up to whole symbols, from 4 to 1023.