Add nodedb_count to mynodeinfo

pull/744/head
Ben Meadors 2025-07-26 06:39:04 -05:00
rodzic d31cd890d5
commit 5ac10c0746
2 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -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)

Wyświetl plik

@ -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;
}
/*