Skip to content

Mesh send/publish API change

Brian Gix linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest4 patches 2 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4doc/mesh-api: Add "options" dictionary to Send/Publishdoc/mesh-api.txt+35 -251 reply
2/4mesh: Handle "options" dictionary in Send/Publish methodsmesh/cfgmod-server.c mesh/model.c mesh/model.h +1 more+75 -820 replies
3/4tools/mesh-cfglient: Add "options" to Send/DevKeySendtools/mesh-cfgclient.c+8 -00 replies
4/4test/test-mesh: Add "options" to Send/Publishtest/test-mesh+9 -20 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH BlueZ v3 0/4] Mesh send/publish API change

This patch set modifies Send, DevKeySend and Publish methods on bluez.mesh.Node interface to include additional argument "options".

This new argument is a dictionary that currently has only one new key word defined for Send() and DevKeySend():
"ForceSegmented" - to force small payloads to be sent as
one-segment messages

Other key words may be defined in future to accommodate evolving requirements of Mesh Profile specification.

********* v2 ************
In case of Publish(), and additional keyword is defined
"Vendor" - 16-bit Company ID as defined by the Bluetooth SIG

This allows us to eliminate VendorPublish() method.

********* v3 ************
Added Vendor specific clarity to the Publish() method description in mesh-api.txt, since VendorPublish() is removed.

Inga Stotland (4):
doc/mesh-api: Add "options" dictionary to Send/Publish
mesh: Handle "options" dictionary in Send/Publish methods tools/mesh-cfglient: Add "options" to Send/DevKeySend test/test-mesh: Add "options" to Send/Publish

 doc/mesh-api.txt       |  60 ++++++++++--------
 mesh/cfgmod-server.c   |   2 +-
 mesh/model.c           |   6 +-
 mesh/model.h           |   9 +--
 mesh/node.c            | 140 ++++++++++++++++++++---------------------
 test/test-mesh         |  11 +++-
 tools/mesh-cfgclient.c |   8 +++
 7 files changed, 127 insertions(+), 109 deletions(-)
Signature · 1 line
2.25.4