mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 18:22:32 +00:00
Update to flooding router
This commit is contained in:
@@ -60,6 +60,14 @@ class FloodingRouter : public Router, protected PacketHistory
|
||||
*/
|
||||
virtual bool inRangeOfRouter();
|
||||
|
||||
/**
|
||||
* Is the packet from a device that is physically near this node?
|
||||
*
|
||||
* Calculated based on the received SNR.
|
||||
* @return true if the received packet is physically close to this node.
|
||||
*/
|
||||
virtual bool isPacketLocal(const MeshPacket *p);
|
||||
|
||||
/**
|
||||
* Look for broadcasts we need to rebroadcast
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user