pub struct LoraPacketStatusRspAdv(/* private fields */);Expand description
Response for GetLoraPacketStatus command
Implementations§
Source§impl LoraPacketStatusRspAdv
impl LoraPacketStatusRspAdv
Sourcepub fn crc(&self) -> bool
pub fn crc(&self) -> bool
CRC status from header (explicit mode) or configured setting (implicit mode). 1=CRC_ON, 0=CRC_OFF
Sourcepub fn coding_rate(&self) -> u8
pub fn coding_rate(&self) -> u8
Coding rate from header (explicit mode) or configured setting (implicit mode)
Sourcepub fn pkt_length(&self) -> u8
pub fn pkt_length(&self) -> u8
Length of the last packet received
Sourcepub fn snr_pkt(&self) -> i8
pub fn snr_pkt(&self) -> i8
Estimation of SNR on last packet received. In two’s complement format multiplied by 4. Actual SNR in dB is snr_pkt/4
Sourcepub fn rssi_pkt(&self) -> u16
pub fn rssi_pkt(&self) -> u16
Average over last packet received of RSSI. Actual signal power is –rssi_pkt/2 [dBm]
Sourcepub fn rssi_signal_pkt(&self) -> u16
pub fn rssi_signal_pkt(&self) -> u16
Estimation of RSSI of the LoRa signal (after despreading) on last packet received. Actual value is -rssi_signal_pkt/2 [dBm]
Sourcepub fn detector(&self) -> u8
pub fn detector(&self) -> u8
Flags which detector(s) received the packet. 0001=main, 0010=side1, 0100=side2, 1000=side3. In normal RX, only one flag is set. In CAD, all detector paths triggered are set
Sourcepub fn freq_offset(&self) -> i32
pub fn freq_offset(&self) -> i32
Frequency error as a signed 24b value in Hz
Sourcepub fn gain_step_pre(&self) -> u8
pub fn gain_step_pre(&self) -> u8
AGC gain latched on preamble