pub struct FskPacketStatusRsp(/* private fields */);Expand description
Response for GetFskPacketStatus command
Implementations§
Source§impl FskPacketStatusRsp
impl FskPacketStatusRsp
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 addr_match_bcast(&self) -> bool
pub fn addr_match_bcast(&self) -> bool
Indicates if the last packet received matched the broadcast address
Sourcepub fn addr_match_node(&self) -> bool
pub fn addr_match_node(&self) -> bool
Indicates if the last packet received matched the node address
Trait Implementations§
Source§impl AsMut<[u8]> for FskPacketStatusRsp
impl AsMut<[u8]> for FskPacketStatusRsp
Source§impl Default for FskPacketStatusRsp
impl Default for FskPacketStatusRsp
Source§fn default() -> FskPacketStatusRsp
fn default() -> FskPacketStatusRsp
Returns the “default value” for a type. Read more