Merge pull request #744 from meshtastic/nodedb-count

Add nodedb_count to mynodeinfo
This commit is contained in:
Ben Meadors 2025-07-26 16:12:26 -05:00 committed by GitHub
commit 9bac2886f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -32,6 +32,7 @@
*MyNodeInfo.air_period_rx max_count:8
*MyNodeInfo.firmware_edition int_size:8
*MyNodeInfo.nodedb_count int_size:16
# Note: the actual limit (because of header bytes) on the size of encrypted payloads is 251 bytes, but I use 256
# here because we might need to fill with zeros for padding to encryption block size (16 bytes per block)

View file

@ -1706,6 +1706,12 @@ message MyNodeInfo {
* The indicator for whether this device is running event firmware and which
*/
FirmwareEdition firmware_edition = 14;
/*
* The number of nodes in the nodedb.
* This is used by the phone to know how many NodeInfo packets to expect on want_config
*/
uint32 nodedb_count = 15;
}
/*