Struct radio_sx128x::device::lora::LoRaChannel[][src]

pub struct LoRaChannel {
    pub freq: u32,
    pub sf: LoRaSpreadingFactor,
    pub bw: LoRaBandwidth,
    pub cr: LoRaCodingRate,
}

LoRa mode channel configuration

Fields

freq: u32

LoRa frequency in Hz (defaults to 2.4GHz)

sf: LoRaSpreadingFactor

LoRa Spreading Factor (defaults to SF8)

bw: LoRaBandwidth

LoRa channel bandwidth (defaults to 200kHz)

cr: LoRaCodingRate

LoRa Coding rate (defaults to 4/5)

Trait Implementations

impl Clone for LoRaChannel[src]

impl Debug for LoRaChannel[src]

impl Default for LoRaChannel[src]

impl<'de> Deserialize<'de> for LoRaChannel[src]

impl PartialEq<LoRaChannel> for LoRaChannel[src]

impl Serialize for LoRaChannel[src]

impl StructuralPartialEq for LoRaChannel[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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> 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.