Skip to content

mesh: Save/restore application keys

Inga Stotland linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mesh: Separate functions for app key add and updatemesh/appkey.c mesh/appkey.h mesh/cfgmod-server.c+60 -410 replies
2/3mesh: Save newly added or updated app key to config filemesh/mesh-db.c mesh/mesh-db.h mesh/storage.c+57 -590 replies
3/3mesh: Return correct error code for AppKey List commandmesh/appkey.c+3 -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 0/3] mesh: Save/restore application keys

This set of patches fixes the application key add/update processing. An application key needs to be saved to a local node configuration file when:
- a new application key is added by a configuration client
- an existing application key is updated by a configuration client during key refresh procedure.

Also, fix error codes for AppKey List operation

Inga Stotland (3):
mesh: Separate functions for app key add and update
mesh: Save newly added or updated app key to config file
mesh: Return correct error code for Appkey List command

 mesh/appkey.c        |  92 ++++++++++++++++++++++---------------
 mesh/appkey.h        |   4 +-
 mesh/cfgmod-server.c |   8 +++-
 mesh/mesh-db.c       | 107 ++++++++++++++++++++-----------------------
 mesh/mesh-db.h       |   4 +-
 mesh/storage.c       |   5 +-
 6 files changed, 120 insertions(+), 100 deletions(-)
Signature · 1 line
2.17.2