mesh: Save key refresh phase state to node config file
authorInga Stotland <inga.stotland@intel.com>
Thu, 7 Feb 2019 03:55:36 +0000 (19:55 -0800)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 14:14:25 +0000 (19:44 +0530)
commit4e0bbab9cfdb6c8659df7f0304d9fbb49e5bb1bb
tree35f633d74c89781f9248549cb967525ca8c2a083
parent3a2fe690ded093b9cb6b7ad0cd4ee6ecc4c4835b
mesh: Save key refresh phase state to node config file

This adds implementation for saving the key refresh phase to
a node configuration file in JSON format. When the key refresh
procedure is finished, the old network keys are remove from the
configuration file.

Change-Id: I33341489ae538cf9734c0a68025865d53f49548f
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/mesh-db.c
mesh/mesh-db.h
mesh/net.c
mesh/storage.c
mesh/storage.h