Add nodedb_count to mynodeinfo

This commit is contained in:
Ben Meadors 2025-07-26 06:39:04 -05:00
parent d31cd890d5
commit 5ac10c0746
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;
}
/*