kopia lustrzana https://github.com/meshtastic/protobufs
node db changes in deviceonly
rodzic
56d3b15ce8
commit
834db2e04a
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Ładowanie…
Reference in New Issue