Skip to content

mesh: Always deliver tokens via JoinComplete

Brian Gix linux-bluetooth 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 0 repliesNew
  2. v34 patches 0 repliesSuperseded

Changes in v4 from the cover letter

- Restore original C parameters on the response for dbus send_with_reply. Any parameters can now be "returned" by the App, and a NULL message indicates an internally generated time-out

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4doc/mesh: Change API to deliver tokens via JoinCompletedoc/mesh-api.txt+15 -70 replies
2/4mesh: Change API to deliver tokens via JoinCompletemesh/mesh.c+48 -150 replies
3/4tools/mesh-cfgclient: Add waiting for 'JoinComplete'tools/mesh-cfgclient.c+46 -320 replies
4/4mesh: Add Time-outs to critical dbus send-with-repliesmesh/dbus.c mesh/dbus.h mesh/mesh.c+58 -70 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH BlueZ v4 0/4] mesh: Always deliver tokens via JoinComplete

This patchset implements API change discussed in
https://marc.info/?l=linux-bluetooth&m=157660821400352&w=2
v4:
- Restore original C parameters on the response for dbus send_with_reply. Any parameters can now be "returned" by the App, and a NULL message indicates an internally generated time-out

v3:
- Add distribution independant timeout for JoinComplete() method calls such that a 30 second timeout of the call is treated as failure, so stale nodes clean up correctly

v2:
- Fix mesh-cfgclient to send JoinComplete reply before calling Attach

Brian Gix (1):
mesh: Add Time-outs to critical dbus send-with-replies

Michał Lowas-Rzechonek (1):
doc/mesh: Change API to deliver tokens via JoinComplete

Przemysław Fierek (2):
mesh: Change API to deliver tokens via JoinComplete tools/mesh-cfgclient: Add waiting for 'JoinComplete'

 doc/mesh-api.txt       | 22 ++++++++----
 mesh/dbus.c            | 40 ++++++++++++++++++++++
 mesh/dbus.h            |  6 ++++
 mesh/mesh.c            | 68 ++++++++++++++++++++++++++++--------
 tools/mesh-cfgclient.c | 78 +++++++++++++++++++++++++-----------------
 5 files changed, 160 insertions(+), 54 deletions(-)
Signature · 1 line
2.21.1