mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-30 11:23:53 +00:00
Merge pull request #1261 from mc-hamster/router
Add rssi meta data to the rf95 interface
This commit is contained in:
commit
a0395c1027
@ -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