Hi all,
Here is my proposed generic settings API implementation. The first patch adds chirp/settings.py and a method for a driver to declare a set of settings and constraints. The second patch implements most of the settings for the UV-5R. The third implements a very minimal UI.
This is very much not complete, but it works and I want to get it out there for comments. I envision the UI tolerating multiple levels of setting groups, which it would display to the user as labeled tabular sets (or something). Could also be a settings dialog with tabs or a tree.
The "string" setting type hasn't been tested since the UV-5R doesn't have any string settings. If this looks good, I think I'll move on to adding support for editing some of the APRS settings in the VX-8R, which will really push the limit.
Anyway, comments on this? Would this apply suitably to other radios?
Thanks!
--Dan