pub enum Error<SPI>where
SPI: ErrorType,{
Show 20 variants
Spi(Error<SPI>),
Fcs,
Phy,
BufferTooSmall {
required_len: usize,
},
ReedSolomon,
FrameWaitTimeout,
Overrun,
PreambleDetectionTimeout,
SfdTimeout,
FrameFilteringRejection,
Frame(Error),
DelayedSendTooLate,
DelayedSendPowerUpWarning,
InvalidConfiguration,
RxNotFinished,
StillAsleep,
BadRssiCalculation,
RxConfigFrameFilteringUnsupported,
InitializationFailed,
PGFCalibrationFailed,
}Expand description
An error that can occur when sending or receiving data
Variants§
Spi(Error<SPI>)
Error occurred while using SPI bus
Fcs
Receiver FCS error
Phy
PHY header error
BufferTooSmall
Buffer too small
ReedSolomon
Receiver Reed Solomon Frame Sync Loss
FrameWaitTimeout
Receiver Frame Wait Timeout
Overrun
Receiver Overrun
PreambleDetectionTimeout
Preamble Detection Timeout
SfdTimeout
Receiver SFD Timeout
FrameFilteringRejection
Frame was rejected because due to automatic frame filtering
It seems that frame filtering is typically handled transparently by the hardware, and filtered frames aren’t usually visible to the driver. However, sometimes a filtered frame bubbles up and disrupts an ongoing receive operation, which then causes this error.
Frame(Error)
Frame could not be decoded
DelayedSendTooLate
A delayed frame could not be sent in time
Please note that the frame was still sent. Replies could still arrive, and if it was a ranging frame, the resulting range measurement will be wrong.
DelayedSendPowerUpWarning
Transmitter could not power up in time for delayed send
The frame was still transmitted, but the first bytes of the preamble were likely corrupted.
InvalidConfiguration
The configuration was not valid. Some combinations of settings are not allowed.
RxNotFinished
The receive operation hasn’t finished yet
StillAsleep
It was expected that the radio would have woken up, but it hasn’t.
BadRssiCalculation
The RSSI was not calculable.
RxConfigFrameFilteringUnsupported
There are issues with frame filtering in double buffer mode. So it’s not supported now.
InitializationFailed
Failed Initialization
PGFCalibrationFailed
Failed to calibrate the PGF values