Hello,
I see from header config_obj.h https://www.netburner.com/NBDocs/Develo ... bj_8h.html that there is a call to SaveConfigToStorage.
Is there a way to Load configurations from the Config Server’s flash storage? Something like LoadConfigFromStorage?
I am trying to load IP configurations that I am saving using the Configuration Server on port 20034 in my runtime. But I don’t see a call to do so.
I tried this example https://www.netburner.com/NBDocs/Develo ... basic.html but it was always reading out-of-date values (i.e. not values changed via the config server web page).
I would also like to know how that can be done more generally for other custom configurations, not just IP. I saw the ThermoStat example for CustomWebConfig: https://www.netburner.com/NBDocs/Develo ... ustom.html but it was not clear to me if the config_obj would read/write to the correct location in non-volatile memory. (Till now I have always used the User Parameter flash, which is not the correct location.)
Please let me know.
Thanks.