I'm currently working on a Project which needs to store some values (in the form of parameter lists). These values can be of some defined types (uint32, char[], ...). Now I would like to make these parameter lists persistent, meaning I want to load and save them. I also want to be able to "download" them to the computer and edit them there, then upload them again to the device which will then use them.
Until now, I have used a simple text file which features Key-Value pairs such as:
EnterTime=18.0\n
DisallowTime=3\n
EnterMessage=Hello this is me\n
ExternalPhoneNumber=+1212345678
...
Yet, I think that there must be a better approach. Space is not a real problem, but I'm not sure if I want to switch to XML, I don't think that would be a better approach.
Any ideas on this? How do you handle such a situation?
Kind regards Thomas