Commit: d57524629036a4bbbe183b6a32afa02a87fe489d
Parent: c4bf0626fb621559ecaea7e1eadf22d386b7ee63
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-07-16 00:48:04
Tree: 4175d37a786eed74f108823dfc6ba1b068cc1d64

mesh: Use mesh_config APIs to store node configuration This eliminates storage_set...() routines as an intermediate layer between mesh_config layer and the rest of the daemon when storing updated node configuration values. For the JSON based implementation, each call to mesh_config_write...() routines results in writing to the node configuration file.

Diffstat

M mesh/appkey.c | 19 +++++++++++++++- - - -
M mesh/cfgmod-server.c | 4 +++-
M mesh/mesh-config-json.c | 203 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/mesh-config.h | 11 +++- - - - - - - -
M mesh/model.c | 15 ++++++++++- - - - -
M mesh/net.c | 26 ++++++++++++++++- - - - - - - - - -
M mesh/node.c | 23 ++++++++++++- - - - - - - - - - -
M mesh/storage.c | 170 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/storage.h | 24 - - - - - - - - - - - - - - - - - - - - - - - -

9 files changed, 155 insertions(+), 340 deletions(-)

View Full Diff | Patch