In my project, I store some configuration in a json file.
This json file is parsed at boot in order to get network configuration.
This json file is parsed and written in a method called from the JC webserver in order to display and reconfigure network connection for example.
I did that because I had not seen any simple way to share information between init codes and threads.
Did I miss something ?
Would it be interesting to have a dedicated thread code that read, store in RAM, store in file some data with external methods in order to access those data ?
In my project, I store some configuration in a json file.
This json file is parsed at boot in order to get network configuration.
This json file is parsed and written in a method called from the JC webserver in order to display and reconfigure network connection for example.
I did that because I had not seen any simple way to share information between init codes and threads.
Did I miss something ?
Would it be interesting to have a dedicated thread code that read, store in RAM, store in file some data with external methods in order to access those data ?