pub enum Cn470Plan {
Antenna20MhzA,
Antenna20MhzB,
Antenna26MhzA,
Antenna26MhzB,
Channels96,
}Expand description
One of the channel plans the CN470-510 band is divided into.
Region::Cn470 names the first. A device joining over the air can start from any of the
four RP002-1.0.5 plans, since they share their join channels and the channel that answers
decides the plan; a personalized device, or one on a network still running the 96-channel
plan, is set up on the one it belongs to.
§Examples
use pamoja_lora::region::{Cn470Plan, Region};
assert!(core::ptr::eq(Region::Cn470.plan(), Cn470Plan::Antenna20MhzA.plan()));
assert_eq!(Cn470Plan::Channels96.plan().default_channel_count(), 96);
assert_eq!(Cn470Plan::Antenna26MhzB.plan().rx2(), (502_500_000, 1));Variants§
Antenna20MhzA
A 20 MHz antenna, type A: uplink from 470.3 and 503.5 MHz, downlink from 483.9 and 490.3 MHz, RP002-1.0.5 section 3.9.2.1.
Antenna20MhzB
A 20 MHz antenna, type B: uplink and downlink from 476.9 and 496.9 MHz.
Antenna26MhzA
A 26 MHz antenna, type A: 48 uplink channels from 470.3 MHz and 24 downlink channels from 490.1 MHz, RP002-1.0.5 section 3.9.2.2.
Antenna26MhzB
A 26 MHz antenna, type B: 48 uplink channels from 480.3 MHz and 24 downlink channels from 500.1 MHz.
Channels96
The 96-channel plan RP002-1.0.5 replaced, from the LoRaWAN 1.0.3 Regional Parameters revision A: 96 uplink channels from 470.3 MHz and 48 downlink channels from 500.3 MHz.