Skip to content

Mesh Configuration Database

Inga Stotland linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20tools/mesh-cfgclient: Save provisioner infotools/mesh-cfgclient.c tools/mesh/mesh-db.c tools/mesh/mesh-db.h+103 -133 replies
2/20tools/mesh-cfgclient: Add timestamp to config databasetools/mesh/mesh-db.c+35 -210 replies
3/20tools/mesh-cfgclient: Update stored NetKey and AppKeytools/mesh/mesh-db.c+15 -00 replies
4/20tools/mesh-cfgclient: Keep track of updated keystools/mesh/cfgcli.c tools/mesh/mesh-db.c tools/mesh/mesh-db.h +2 more+299 -780 replies
5/20tools/mesh: Add new info to stored remote nodestools/mesh/mesh-db.c+11 -00 replies
6/20tools/mesh-cfgclient: Overwrite config values when adding new onestools/mesh/mesh-db.c+18 -60 replies
7/20tools/mesh-cfgclient: Store remote node's model bindingstools/mesh/cfgcli.c tools/mesh/mesh-db.c tools/mesh/mesh-db.h+178 -60 replies
8/20tools/mesh-cfgclient: Store remote node's model substools/mesh/cfgcli.c tools/mesh/mesh-db.c tools/mesh/mesh-db.h+250 -130 replies
9/20tools/mesh-cfgclient: Disallow model commands w/o compositiontools/mesh/cfgcli.c tools/mesh/mesh-db.c tools/mesh/remote.c +1 more+59 -20 replies
10/20tools/mesh-cfgclient: Store remote's model publication infotools/mesh/cfgcli.c tools/mesh/mesh-db.c tools/mesh/mesh-db.h +1 more+124 -160 replies
11/20tools/mesh-cfgclient: Check the result of config savetools/mesh/cfgcli.c tools/mesh/remote.c tools/mesh/remote.h+70 -610 replies
12/20tools/mesh-cfgclient: Rename mesh-db APIs for consistencytools/mesh-cfgclient.c tools/mesh/cfgcli.c tools/mesh/keys.c +3 more+42 -420 replies
13/20tools/mesh-cfgclient: Save remote node feature settingtools/mesh/cfgcli.c tools/mesh/mesh-db.c tools/mesh/mesh-db.h+151 -280 replies
14/20tools/mesh-cfgclient: Store remote's heartbeat sub/pubtools/mesh/cfgcli.c tools/mesh/mesh-db.c tools/mesh/mesh-db.h+135 -120 replies
15/20tools/mesh-cfgclient: Add group parent address for DB compliancetools/mesh/mesh-db.c+4 -00 replies
16/20doc/mesh-api: Add ExportKeys calldoc/mesh-api.txt+56 -00 replies
17/20mesh: Implement ExportKeys() methodmesh/keyring.c mesh/keyring.h mesh/manager.c+322 -10 replies
18/20tools/mesh-cfgclient: Store UUIDs in standard formattools/mesh/mesh-db.c+21 -80 replies
19/20tools/mesh-cfgclient: Excluded addresses propertytools/mesh/mesh-db.c+6 -70 replies
20/20tools/mesh-cfgclient: Export configuration databasetools/mesh-cfgclient.c tools/mesh/mesh-db.c tools/mesh/mesh-db.h+393 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH BlueZ 00/20] Mesh Configuration Database

This patch set (I apologize for its size, but this cannot be helped) implements support for the newly published Mesh Configuration Database Profile.

The changes are mostly contained to tools/mesh-cfgclient.c and tools/mesh subdirectory. The only exception is the introduction of a new D-Bus mesh API method ExportKeys() on org.bluez.mesh.Management1 interface.

The new functionality allows to export a snapshot of mesh state from the point of view of mesh provisioner/configuration manager in a standard format that can be used for to transferring the "ownership" of the mesh configuration to another provisioner/configuration manager.

The changes break backwards compatibility with for the previous versions of config-db.json that were generated when using mesh-cfgclient tool. This can be amended by manually correcting the field names and property values.

Inga Stotland (20):
tools/mesh-cfgclient: Save provisioner info tools/mesh-cfgclient: Add timestamp to config database tools/mesh-cfgclient: Update stored NetKey and AppKey tools/mesh-cfgclient: Keep track of updated keys tools/mesh: Add new info to stored remote nodes tools/mesh-cfgclient: Overwrite config values when adding new ones tools/mesh-cfgclient: Store remote node's model bindings tools/mesh-cfgclient: Store remote node's model subs tools/mesh-cfgclient: Disallow model commands w/o composition tools/mesh-cfgclient: Store remote's model publication info tools/mesh-cfgclient: Check the result of config save tools/mesh-cfgclient: Rename mesh-db APIs for consistency tools/mesh-cfgclient: Save remote node feature setting tools/mesh-cfgclient: Store remote's heartbeat sub/pub tools/mesh-cfgclient: Add group parent address for DB compliance doc/mesh-api: Add ExportKeys call
mesh: Implement ExportKeys() method tools/mesh-cfgclient: Store UUIDs in standard format tools/mesh-cfgclient: Excluded addresses property tools/mesh-cfgclient: Export configuration database

 doc/mesh-api.txt       |   56 ++
 mesh/keyring.c         |  286 ++++++++-
 mesh/keyring.h         |    2 +
 mesh/manager.c         |   35 ++
 tools/mesh-cfgclient.c |  212 ++++++-
 tools/mesh/cfgcli.c    |  284 ++++++---
 tools/mesh/keys.c      |    4 +-
 tools/mesh/mesh-db.c   | 1260 +++++++++++++++++++++++++++++++++++++---
 tools/mesh/mesh-db.h   |   66 ++-
 tools/mesh/model.h     |   13 +-
 tools/mesh/remote.c    |  205 +++++--
 tools/mesh/remote.h    |   11 +-
 12 files changed, 2206 insertions(+), 228 deletions(-)
Signature · 1 line
2.31.1