openlcb / OpenLCB_Java

Java implementation of OpenLCB / LCC protocols. This implementation operates inside JMRI, and can also be used inside Android apps.
6 stars 9 forks source link

Add factory reset option to the UI #146

Closed balazsracz closed 1 year ago

balazsracz commented 5 years ago

We need to have (somewhere) a button to cause a factory reset in the node. The memcfg standard defines the message to send for a factory reset. We need to warn the user that this removes all custom configuration from the node and ask for confirmation (yes/cancel dialog) before doing so.

I believe it would be helpful to suggest the user to do a full backup of the node before doing a factory reset. Maybe the configrmation dialog should be with 3 buttons: "factory reset: yes/cancel/backup now". The backup needs the CDI however, so maybe a natural place to put it would be in the More> button in the CDI dialog.

atanisoft commented 1 year ago

@balazsracz I think this can now be closed, I see the option present in the CDI dialog.