mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-04 12:44:40 +00:00
Add rssi meta data to the rf95 interface
This commit is contained in:
parent
e5e13d78c3
commit
ac8ba706f0
@ -140,6 +140,8 @@ bool RF95Interface::reconfigure()
|
|||||||
void RF95Interface::addReceiveMetadata(MeshPacket *mp)
|
void RF95Interface::addReceiveMetadata(MeshPacket *mp)
|
||||||
{
|
{
|
||||||
mp->rx_snr = lora->getSNR();
|
mp->rx_snr = lora->getSNR();
|
||||||
|
mp->rx_rssi = lround(lora->getRSSI());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RF95Interface::setStandby()
|
void RF95Interface::setStandby()
|
||||||
|
Loading…
Reference in New Issue
Block a user