Closed mc-hamster closed 2 years ago
Ich used Meshtastic
set /p pn=Serial Port:
meshtastic --port %pn% --export-config >config.yml
meshtastic --port %pn% --set factory_reset true
followed by
meshtastic --port %pn% --configure config.yml
Doing a factory_reset
is definitely an option, but there might (should be?) a more precise way.
Interesting use of setting the pn
variable. :-)
I transferred this issue to -python because I thought it might make sense to implement it in this client first. (But, that may not have been the smartest idea because I don't know if that method is exposed in -device.)
What about this requires protos?
Protobufs implemented
Requested by @mkinney
Have a way to reset the NodeDB.
First set *numNodes = 0; and then subsequently call MeshService::reloadOwner().
Also need a way to trigger this from a connected device.