Enum lora_phy::mod_params::RadioError
source · pub enum RadioError {
Show 34 variants
SPI,
NSS,
Reset,
RfSwitchRx,
RfSwitchTx,
Busy,
Irq,
DIO1,
DelayError,
OpError(u8),
InvalidBaseAddress(usize, usize),
PayloadSizeUnexpected(usize),
PayloadSizeMismatch(usize, usize),
InvalidSymbolTimeout,
RetentionListExceeded,
UnavailableSpreadingFactor,
UnavailableBandwidth,
UnavailableCodingRate,
InvalidBandwidthForFrequency,
InvalidSF6ExplicitHeaderRequest,
InvalidOutputPower,
InvalidOutputPowerForFrequency,
HeaderError,
CRCErrorUnexpected,
CRCErrorOnReceive,
TransmitTimeout,
ReceiveTimeout,
TimeoutUnexpected,
TransmitDoneUnexpected,
ReceiveDoneUnexpected,
DutyCycleUnsupported,
DutyCycleRxContinuousUnsupported,
CADUnexpected,
RngUnsupported,
}Expand description
Errors types reported during LoRa physical layer processing
Variants§
SPI
NSS
Reset
RfSwitchRx
RfSwitchTx
Busy
Irq
DIO1
DelayError
OpError(u8)
InvalidBaseAddress(usize, usize)
PayloadSizeUnexpected(usize)
PayloadSizeMismatch(usize, usize)
InvalidSymbolTimeout
RetentionListExceeded
InvalidBandwidthForFrequency
InvalidSF6ExplicitHeaderRequest
InvalidOutputPower
InvalidOutputPowerForFrequency
HeaderError
CRCErrorUnexpected
CRCErrorOnReceive
TransmitTimeout
ReceiveTimeout
TimeoutUnexpected
TransmitDoneUnexpected
ReceiveDoneUnexpected
DutyCycleUnsupported
DutyCycleRxContinuousUnsupported
CADUnexpected
RngUnsupported
Trait Implementations§
source§impl Debug for RadioError
impl Debug for RadioError
source§impl Format for RadioError
impl Format for RadioError
source§impl PartialEq<RadioError> for RadioError
impl PartialEq<RadioError> for RadioError
source§fn eq(&self, other: &RadioError) -> bool
fn eq(&self, other: &RadioError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RadioError
Auto Trait Implementations§
impl RefUnwindSafe for RadioError
impl Send for RadioError
impl Sync for RadioError
impl Unpin for RadioError
impl UnwindSafe for RadioError
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