v3: Fixed subscription list generation to include virtual subscription addresses ***************************** v2: Fixed a backwards compatibility issue reported by Brian; Fixed Python test to correctly display updated configuration ***************************** This patch set adds a capability to mesh-cfgclient to generate and store virtual labels and use them in configuring remote node's publications and subscriptions. Regular group addresses are preeserved as well. This is done dynamically: as a new group address is detected in either subscription or publication configuration commands. This new capability of mesh-cfgclient allowed for improved testing of virtual pub/sub implementation in bluetooth-meshd daemon. As a result, some deficiencies and legacy entaglements were exposed, and consequently resolved and cleaned up. Inga Stotland (6): tools/mesh-cfgclient: Add support for virtual labels tools/mesh-cfgclient: Clean up subscription list output tools/mesh-cfgclient: Save and restore group addresses mesh: Simplify model virtual pub/sub logic mesh: Clean up handling config model publication message test/test-mesh: Fix output og UpdateModelConfig method Makefile.tools | 3 +- mesh/cfgmod-server.c | 131 +++++++-------------- mesh/model.c | 271 ++++++++++++++++++------------------------- mesh/model.h | 9 +- test/test-mesh | 11 +- tools/mesh/cfgcli.c | 242 ++++++++++++++++++++++++++++++++------ tools/mesh/cfgcli.h | 5 + tools/mesh/mesh-db.c | 128 ++++++++++++++++++++ tools/mesh/mesh-db.h | 4 + 9 files changed, 514 insertions(+), 290 deletions(-) -- 2.21.1