bloguetronica / cp2130-conf

CP2130 Configurator (cp2130-conf) is an application that can be used to configure CP2130 devices, including VID, PID, as well as other descriptors. Most importantly, the application allows you to configure pin functions and states.
GNU General Public License v3.0
1 stars 1 forks source link

Improvement: Function and settings to generate random serial numbers #5

Closed samuelfmlourenco closed 2 months ago

samuelfmlourenco commented 2 years ago

Along with the load and save configuration feature proposed in another issue, support for generating random serial numbers should be added, The settings, including prefix, suffix and length of the random part, should be specified from a dialog box that is called from the menu bar (option to be added).

If the settings are specified, a button near the serial number field should be active. That button would then generate and change the serial number in the field when pressed. Also, in that instance, those generation settings should be saved, instead of saving a fixed serial number, when and if the user chooses to save the configuration to an XML file.

When loading an XML file, the settings for random generation would be enabled if the file specifies them. However, if a fixed serial number is also specified, that would take precedence, but the button to generate another serial number should be enabled anyway.

samuelfmlourenco commented 1 year ago

This will not be implemented in version 2.0. Milestone changed.

samuelfmlourenco commented 2 months ago

Implemented in version 3.0.