mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
node db changes in deviceonly
This commit is contained in:
parent
56d3b15ce8
commit
834db2e04a
2 changed files with 9 additions and 1 deletions
|
|
@ -2,7 +2,8 @@
|
|||
# https://jpa.kapsi.fi/nanopb/docs/reference.html#proto-file-options
|
||||
|
||||
# FIXME pick a higher number someday? or do dynamic alloc in nanopb?
|
||||
*DeviceState.node_db max_count:80
|
||||
*DeviceState.node_db max_count:40
|
||||
*DeviceState.node_db_neighbors max_count: 40
|
||||
|
||||
# FIXME - max_count is actually 32 but we save/load this as one long string of preencoded MeshPacket bytes - not a big array in RAM
|
||||
*DeviceState.receive_queue max_count:1
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ option swift_prefix = "";
|
|||
import "meshtastic/channel.proto";
|
||||
import "meshtastic/localonly.proto";
|
||||
import "meshtastic/mesh.proto";
|
||||
import "meshtastic/neighborinfo.proto";
|
||||
|
||||
/*
|
||||
* This message is never sent over the wire, but it is used for serializing DB
|
||||
|
|
@ -66,6 +67,12 @@ message DeviceState {
|
|||
*/
|
||||
bool did_gps_reset = 11;
|
||||
|
||||
/*
|
||||
* Sender information used by NeighborInfo Module to get edge info on the mesh.
|
||||
* This is stored in each node's nodeDB so we'll have a SNR per edge when we sniff packets.
|
||||
* This field should disabled (always zeroed) unless user opts in.
|
||||
*/
|
||||
repeated Neighbor node_db_neighbors = 12;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue