File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -220,11 +220,20 @@ message DeviceState {
220220 * The mesh's nodes with their available gpio pins for RemoteHardware module
221221 */
222222 repeated NodeRemoteHardwarePin node_remote_hardware_pins = 13 ;
223+ }
224+
225+ message NodeDatabase {
226+ /*
227+ * A version integer used to invalidate old save files when we make
228+ * incompatible changes This integer is set at build time and is private to
229+ * NodeDB.cpp in the device code.
230+ */
231+ uint32 version = 1 ;
223232
224233 /*
225234 * New lite version of NodeDB to decrease memory footprint
226235 */
227- repeated NodeInfoLite node_db_lite = 14 [(nanopb).callback_datatype = "std::vector<meshtastic_NodeInfoLite>" ];
236+ repeated NodeInfoLite nodes = 2 [(nanopb).callback_datatype = "std::vector<meshtastic_NodeInfoLite>" ];
228237}
229238
230239/*
You can’t perform that action at this time.
0 commit comments