pub struct RelayChannel {
pub wor_frequency_hz: u32,
pub ack_frequency_hz: u32,
pub data_rate: u8,
}Expand description
A default channel of a LoRaWAN relay, TS011-1.0.1 section 3.2.2.
An end device under a relay sends its wake-on-radio frame on
wor_frequency_hz and hears the relay’s acknowledgment on
ack_frequency_hz, both at data_rate.
Fields§
§wor_frequency_hz: u32Where an end device sends its wake-on-radio frame, in hertz.
ack_frequency_hz: u32Where the relay acknowledges it, in hertz.
data_rate: u8The data rate of both, numbered as the plan’s downlink data rates, since the 900 MHz plans define a 500 kHz rate at SF10 only in that table.
Implementations§
Trait Implementations§
Source§impl Clone for RelayChannel
impl Clone for RelayChannel
Source§fn clone(&self) -> RelayChannel
fn clone(&self) -> RelayChannel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RelayChannel
Source§impl Debug for RelayChannel
impl Debug for RelayChannel
impl Eq for RelayChannel
Source§impl Hash for RelayChannel
impl Hash for RelayChannel
Source§impl PartialEq for RelayChannel
impl PartialEq for RelayChannel
impl StructuralPartialEq for RelayChannel
Auto Trait Implementations§
impl Freeze for RelayChannel
impl RefUnwindSafe for RelayChannel
impl Send for RelayChannel
impl Sync for RelayChannel
impl Unpin for RelayChannel
impl UnsafeUnpin for RelayChannel
impl UnwindSafe for RelayChannel
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