pub enum RxStrategy {
Continuous,
PreambleDutyCycle,
}Expand description
How the runner keeps the radio listening between frames.
Variants§
Continuous
The chip sits in continuous RX. Works on every supported radio; costs the chip’s full RX current around the clock.
PreambleDutyCycle
SX126x-style SetRxDutyCycle preamble sniffing: the chip’s own
sequencer alternates short RX windows with sleep, sized against
the sender’s TX preamble so no frame is missed (see
duty_cycle_rx_mode for the sizing rule). The MCU sees exactly
the same DIO1 IRQs as in continuous mode.
Only for chips whose driver implements RxMode::DutyCycle
(SX126x, LR11xx). An SX127x rejects it with
DutyCycleUnsupported at RX setup, which the runner’s
prepare-retry loop turns into a busy spin — SX127x boards must
pass RxStrategy::Continuous.
Trait Implementations§
Source§impl Clone for RxStrategy
impl Clone for RxStrategy
Source§fn clone(&self) -> RxStrategy
fn clone(&self) -> RxStrategy
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RxStrategy
impl Debug for RxStrategy
Source§impl PartialEq for RxStrategy
impl PartialEq for RxStrategy
impl Copy for RxStrategy
impl StructuralPartialEq for RxStrategy
Auto Trait Implementations§
impl Freeze for RxStrategy
impl RefUnwindSafe for RxStrategy
impl Send for RxStrategy
impl Sync for RxStrategy
impl Unpin for RxStrategy
impl UnwindSafe for RxStrategy
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)