#[repr(u8)]pub enum LoRaBandwidth {
Show 14 variants
Khz7 = 0,
Khz10 = 1,
Khz15 = 2,
Khz20 = 3,
Khz31 = 4,
Khz41 = 5,
Khz62 = 6,
Khz125 = 7,
Khz250 = 8,
Khz500 = 9,
Khz200 = 10,
Khz400 = 11,
Khz800 = 12,
Khz1600 = 13,
}Expand description
LoRa signal bandwidth enum (PROTOCOL.md §10.1). The small integer
is what goes on the wire, NOT the kHz value.
Variants§
Khz7 = 0
7.81 kHz — sub-GHz chips only.
Khz10 = 1
10.42 kHz — sub-GHz chips only.
Khz15 = 2
15.63 kHz — sub-GHz chips only.
Khz20 = 3
20.83 kHz — sub-GHz chips only.
Khz31 = 4
31.25 kHz — sub-GHz chips only.
Khz41 = 5
41.67 kHz — sub-GHz chips only.
Khz62 = 6
62.5 kHz — sub-GHz chips only.
Khz125 = 7
125 kHz — all LoRa chips.
Khz250 = 8
250 kHz — all LoRa chips.
Khz500 = 9
500 kHz — all LoRa chips.
Khz200 = 10
200 kHz — SX128x (2.4 GHz) only.
Khz400 = 11
400 kHz — SX128x (2.4 GHz) only.
Khz800 = 12
800 kHz — SX128x (2.4 GHz) only.
Khz1600 = 13
1600 kHz — SX128x (2.4 GHz) only.
Implementations§
Trait Implementations§
Source§impl Clone for LoRaBandwidth
impl Clone for LoRaBandwidth
Source§fn clone(&self) -> LoRaBandwidth
fn clone(&self) -> LoRaBandwidth
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoRaBandwidth
impl Debug for LoRaBandwidth
Source§impl Format for LoRaBandwidth
impl Format for LoRaBandwidth
Source§impl PartialEq for LoRaBandwidth
impl PartialEq for LoRaBandwidth
impl Copy for LoRaBandwidth
impl Eq for LoRaBandwidth
impl StructuralPartialEq for LoRaBandwidth
Auto Trait Implementations§
impl Freeze for LoRaBandwidth
impl RefUnwindSafe for LoRaBandwidth
impl Send for LoRaBandwidth
impl Sync for LoRaBandwidth
impl Unpin for LoRaBandwidth
impl UnsafeUnpin for LoRaBandwidth
impl UnwindSafe for LoRaBandwidth
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more