Skip to content

Commit

Permalink
Add the ROUTER_LATE role & supporting fields (#632)
Browse files Browse the repository at this point in the history
Will always rebroadcast packets, but will do so after all other modes.
Intended for router nodes that are there to provide additional coverage
in areas not already covered by other routers, or to bridge around
problematic terrain, but should not be given priority over other routers
in order to avoid unnecessarily consuming hops.
  • Loading branch information
erayd authored Dec 22, 2024
1 parent 2cffaf5 commit c55f120
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions meshtastic/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,15 @@ message Config {
* Uses position module configuration to determine TAK PLI broadcast interval.
*/
TAK_TRACKER = 10;

/*
* Description: Will always rebroadcast packets, but will do so after all other modes.
* Technical Details: Used for router nodes that are intended to provide additional coverage
* in areas not already covered by other routers, or to bridge around problematic terrain,
* but should not be given priority over other routers in order to avoid unnecessaraily
* consuming hops.
*/
ROUTER_LATE = 11;
}

/*
Expand Down
7 changes: 7 additions & 0 deletions meshtastic/mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,13 @@ message MeshPacket {
* Set by the firmware internally, clients are not supposed to set this.
*/
uint32 relay_node = 19;

/*
* *Never* sent over the radio links.
* Timestamp after which this packet may be sent.
* Set by the firmware internally, clients are not supposed to set this.
*/
uint32 tx_after = 20;
}

/*
Expand Down

0 comments on commit c55f120

Please sign in to comment.