pub enum Rx1Channels {
SameAsUplink,
Downstream(ChannelBlock),
}Expand description
The channel the first receive window answers on, which the region decides.
RP002-1.0.5 defines two shapes for the bands this carries. Most regions answer on the frequency the uplink arrived on (section 3.4.7 for EU863-870, and the same wording for EU433, AS923, KR920-923, IN865 and RU864-870). The 900 MHz plans instead answer on a run of downlink channels, choosing one by the uplink channel number: “RX1 Channel Number = Transmit Channel Number modulo NbChannel” (sections 3.5.7 and 3.8.7).
CN470-510 is a third shape, mapping an uplink channel number onto a published table of downlink frequencies that differs per plan type, and it is not carried here; a deployment on that band supplies its own downstream block.
Variants§
SameAsUplink
The window answers on the frequency the uplink arrived on.
Downstream(ChannelBlock)
The window answers on a run of downlink channels, indexed by the uplink channel number modulo how many the run holds.
Implementations§
Source§impl Rx1Channels
impl Rx1Channels
Sourcepub const fn us915() -> Rx1Channels
pub const fn us915() -> Rx1Channels
Returns the downstream channels US902-928 answers on.
Eight channels of 500 kHz starting at 923.3 MHz and stepping 600 kHz to 927.5 MHz, carrying downlink data rates DR8 to DR13, from RP002-1.0.5 section 3.5.2.
§Returns
The channels.
Sourcepub const fn au915() -> Rx1Channels
pub const fn au915() -> Rx1Channels
Returns the downstream channels AU915-928 answers on, which are the same run.
§Returns
The channels.
Trait Implementations§
Source§impl Clone for Rx1Channels
impl Clone for Rx1Channels
Source§fn clone(&self) -> Rx1Channels
fn clone(&self) -> Rx1Channels
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for Rx1Channels
Source§impl Debug for Rx1Channels
impl Debug for Rx1Channels
impl Eq for Rx1Channels
Source§impl PartialEq for Rx1Channels
impl PartialEq for Rx1Channels
Source§fn eq(&self, other: &Rx1Channels) -> bool
fn eq(&self, other: &Rx1Channels) -> bool
self and other values to be equal, and is used by ==.