Mesh Configuration Database
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest20 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | tools/mesh-cfgclient: Save provisioner infotools/ tools/ tools/ | +103 | 3 replies | |
| 2/20 | tools/mesh-cfgclient: Add timestamp to config databasetools/ | +35 | 0 replies | |
| 3/20 | tools/mesh-cfgclient: Update stored NetKey and AppKeytools/ | +15 | 0 replies | |
| 4/20 | tools/mesh-cfgclient: Keep track of updated keystools/ tools/ tools/ +2 more | +299 | 0 replies | |
| 5/20 | tools/mesh: Add new info to stored remote nodestools/ | +11 | 0 replies | |
| 6/20 | tools/mesh-cfgclient: Overwrite config values when adding new onestools/ | +18 | 0 replies | |
| 7/20 | tools/mesh-cfgclient: Store remote node's model bindingstools/ tools/ tools/ | +178 | 0 replies | |
| 8/20 | tools/mesh-cfgclient: Store remote node's model substools/ tools/ tools/ | +250 | 0 replies | |
| 9/20 | tools/mesh-cfgclient: Disallow model commands w/o compositiontools/ tools/ tools/ +1 more | +59 | 0 replies | |
| 10/20 | tools/mesh-cfgclient: Store remote's model publication infotools/ tools/ tools/ +1 more | +124 | 0 replies | |
| 11/20 | tools/mesh-cfgclient: Check the result of config savetools/ tools/ tools/ | +70 | 0 replies | |
| 12/20 | tools/mesh-cfgclient: Rename mesh-db APIs for consistencytools/ tools/ tools/ +3 more | +42 | 0 replies | |
| 13/20 | tools/mesh-cfgclient: Save remote node feature settingtools/ tools/ tools/ | +151 | 0 replies | |
| 14/20 | tools/mesh-cfgclient: Store remote's heartbeat sub/pubtools/ tools/ tools/ | +135 | 0 replies | |
| 15/20 | tools/mesh-cfgclient: Add group parent address for DB compliancetools/ | +4 | 0 replies | |
| 16/20 | doc/mesh-api: Add ExportKeys calldoc/ | +56 | 0 replies | |
| 17/20 | mesh: Implement ExportKeys() methodmesh/ mesh/ mesh/ | +322 | 0 replies | |
| 18/20 | tools/mesh-cfgclient: Store UUIDs in standard formattools/ | +21 | 0 replies | |
| 19/20 | tools/mesh-cfgclient: Excluded addresses propertytools/ | +6 | 0 replies | |
| 20/20 | tools/mesh-cfgclient: Export configuration databasetools/ tools/ tools/ | +393 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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