Skip to content

Commit

Permalink
Add next_hop to NodeInfoLite
Browse files Browse the repository at this point in the history
  • Loading branch information
GUVWAF committed Nov 18, 2024
1 parent 739a6d4 commit 40497bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion meshtastic/deviceonly.options
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@

*NodeInfoLite.channel int_size:8
*NodeInfoLite.hops_away int_size:8
*NodeInfoLite.next_hop int_size:8

*UserLite.long_name max_size:40
*UserLite.short_name max_size:5
*UserLite.public_key max_size:32 # public key
*UserLite.macaddr max_size:6 fixed_length:true
*UserLite.macaddr max_size:6 fixed_length:true
7 changes: 6 additions & 1 deletion meshtastic/deviceonly.proto
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ message NodeInfoLite {
* Persists between NodeDB internal clean ups
*/
bool is_ignored = 11;

/*
* Last byte of the node number of the node that should be used as the next hop to reach this node.
*/
uint32 next_hop = 12;
}

/*
Expand Down Expand Up @@ -237,4 +242,4 @@ message ChannelFile {
* NodeDB.cpp in the device code.
*/
uint32 version = 2;
}
}

0 comments on commit 40497bf

Please sign in to comment.