Add next_hop and relayed_by in PacketHistory for setting next-hop and handle flooding fallback

This commit is contained in:
GUVWAF
2024-11-01 09:16:51 +01:00
parent 2e303a33be
commit 6fe42ed4c5
21 changed files with 130 additions and 159 deletions

View File

@@ -104,8 +104,6 @@ class NextHopRouter : public FloodingRouter
*/
virtual void sniffReceived(const meshtastic_MeshPacket *p, const meshtastic_Routing *c) override;
constexpr static uint8_t NO_NEXT_HOP_PREFERENCE = 0;
/**
* Try to find the pending packet record for this ID (or NULL if not found)
*/