[][src]Struct radio_sx127x::lora::LoRaConfig

pub struct LoRaConfig {
    pub channel: Channel,
    pub preamble_len: u16,
    pub symbol_timeout: u16,
    pub payload_len: PayloadLength,
    pub payload_crc: PayloadCrc,
    pub frequency_hop: FrequencyHopping,
    pub pa_output: PaSelect,
    pub power: i8,
    pub invert_iq: bool,
}

LoRa Radio Configuration Object

Fields

channel: Channel

LoRa channel configuration

preamble_len: u16

LoRa preamble length in symbols (defaults to 0x8) (not that hardware adds four additional symbols)

symbol_timeout: u16

TxSingle timeout value (defaults to 0x64)

payload_len: PayloadLength

Payload length configuration (defaults to Variable / Explicit header mode)

payload_crc: PayloadCrc

Payload RX CRC configuration (defaults to enabled)

frequency_hop: FrequencyHopping

Frequency hopping configuration (defaults to disabled)

pa_output: PaSelect

Power amplifier output selection (defaults to PA_BOOST output)

power: i8

Output power in dBm (defaults to 10dBm)

invert_iq: bool

IQ inversion configuration (defaults to disabled)

Trait Implementations

impl PartialEq<LoRaConfig> for LoRaConfig[src]

impl Debug for LoRaConfig[src]

impl Copy for LoRaConfig[src]

impl Clone for LoRaConfig[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for LoRaConfig[src]

Auto Trait Implementations

impl Send for LoRaConfig

impl Sync for LoRaConfig

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.