tools/mesh: Optimize for multiple RPR servers and NPPI
authorBrian Gix <brian.gix@intel.com>
Tue, 25 Oct 2022 21:34:40 +0000 (14:34 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:11:34 +0000 (15:41 +0530)
commitbfaad2e11ee690d0cc921aae032ce7cfd5aa61ae
tree8a3a2025099c0b4e8227f339c1d0b1908a20e02c
parent56807c65804865eb8ad2f61fac5077a97ef6e149
tools/mesh: Optimize for multiple RPR servers and NPPI

These changes allow the mesh-cfgclient tool to request remote node
compositions from page 128. Depending on the differences between
there and what is stored in the local configuration database, it may
recomend reprovisioning with NPPI-1 (Address Refresh) or NPPI-2
(Composition Refresh).

Additionally, NPPI-0 may be performed to refresh the Device Key only.
tools/mesh-cfgclient.c
tools/mesh/cfgcli.c
tools/mesh/mesh-db.c
tools/mesh/mesh-db.h
tools/mesh/remote.c
tools/mesh/remote.h