pub struct WisunPacketStatusRsp(/* private fields */);Expand description
Response for GetWisunPacketStatus command
Implementations§
Source§impl WisunPacketStatusRsp
impl WisunPacketStatusRsp
Sourcepub fn pkt_len(&self) -> u16
pub fn pkt_len(&self) -> u16
Length of the last received packet in bytes (including optional data added in the FIFO, crc, …)
Sourcepub fn rssi_avg(&self) -> u16
pub fn rssi_avg(&self) -> u16
Average over last packet received of RSSI. Actual signal power is –rssi_avg/2 (dBm)
Sourcepub fn rssi_sync(&self) -> u16
pub fn rssi_sync(&self) -> u16
Latch RSSI value after syncword detection. Actual signal power is –rssi_sync/2 (dBm)
Sourcepub fn syncword_idx(&self) -> bool
pub fn syncword_idx(&self) -> bool
Index of detected syncword (0/1)
Trait Implementations§
Source§impl AsMut<[u8]> for WisunPacketStatusRsp
impl AsMut<[u8]> for WisunPacketStatusRsp
Source§impl Default for WisunPacketStatusRsp
impl Default for WisunPacketStatusRsp
Source§fn default() -> WisunPacketStatusRsp
fn default() -> WisunPacketStatusRsp
Returns the “default value” for a type. Read more