A simple .ini file interface.

Dependents:   Smart-WiFly-WebServer SignalGenerator WattEye X10Svr

Changes

RevisionDateWhoCommit message
28:4e7fc08a0fea 2020-06-11 WiredHome Code cleanup default tip
27:611ffb74fd38 2018-11-18 WiredHome Add a blank line ahead of the section starts
26:e8d7b09a77a3 2020-04-30 WiredHome Code cleanup
25:1362b843de86 2018-11-11 WiredHome Correct a defect - if a section was null, but existed "[]", it would be parsed as a null, which causes it to start searching again from the beginning. Now it will exit as done.
24:ba5fa9548f59 2018-04-11 WiredHome Add a method to write long integers to the ini file.
23:18b5f3d7ef14 2018-03-31 WiredHome ReadString - now defaults as intended if the file is not found, but a default string is provided.
22:1ad96fcc5731 2018-03-31 WiredHome Change the default format to version 2.
21:a69c8ec96cb1 2017-01-16 WiredHome Removed an extraneous printf
20:392d1ec637eb 2016-12-29 WiredHome Revised test cases to match API v2
19:8f394a5f3758 2016-12-28 WiredHome Tiny documentation update to clarify the Version 1 to version 2 transition.
18:282ed56d983b 2016-12-28 WiredHome Revised the ReadString and WriteString to return a failure code, rather than a boolean. This made the APIs incompatible, but this can be selected at construction or when setting the file, in order to be backward compatible.
17:01c0ee144433 2016-05-19 WiredHome Minor change to put 1 blank line ahead of each section
16:82e0f8747b95 2016-04-14 WiredHome Added optional length parameter to a string write.
15:3fc2b87a234d 2016-12-11 WiredHome Add methods for iterating over sections and keys
14:af370f01dfef 2016-11-13 WiredHome Add GetFile api
13:d5957065d066 2016-09-04 WiredHome Using standard memory manager
12:6cf929bde139 2016-04-11 WiredHome Added a ReadLongInt method for convenience.
11:738604f18088 2016-01-26 WiredHome Hook the private memory manager when configured, and standard malloc/free when not.
10:57b93035ad82 2015-07-03 WiredHome Minor change to Write to reflect that all parameters are read-only.
9:4947b8c244e9 2014-07-07 WiredHome reduce compiler warnings
8:f128b10dfab1 2014-07-07 WiredHome Internal changes only to try to make it more robust, and require less memory.
7:60f5dc3467ff 2014-05-22 WiredHome Documentation updates.
6:cd28ab597256 2014-04-20 WiredHome Small documentation update only.
5:bfeb0882bd82 2014-03-26 WiredHome Update to permit deferring the filespec to later, which also permits changing the filespec w/o having to destroy and reconstruct the object.
4:70042853d43b 2014-03-16 WiredHome use an OS wait if the mbed_rtos is in use (#ifdef RTOS_H).
3:64fcaf06b012 2014-01-03 WiredHome Suppress one warning related to debug details.
2:c63a794c1fee 2013-09-05 WiredHome Improved diagnostics capability.
1:1e2ee9bbee40 2013-09-01 WiredHome A simple INI file manager. Has some level of recovery in the event power is lost, but could be better.
0:ae5bf432c249 2013-08-12 WiredHome A simple ini file interface.