Mesh send/publish API change
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyIn review
- v14 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | doc/mesh-api: Add "options" dictionary to Send/Publishdoc/ | +33 | 1 reply | |
| 2/4 | mesh: Handle "options" dictionary in Send/Publish methodsmesh/ mesh/ mesh/ +1 more | +75 | 0 replies | |
| 3/4 | tools/mesh-cfglient: Add "options" to Send/DevKeySendtools/ | +8 | 0 replies | |
| 4/4 | test/test-mesh: Add "options" to Send/Publishtest/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH BlueZ v2 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 to eliminate VendorPublish() method.
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 | 57 ++++++++++------- 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, 125 insertions(+), 108 deletions(-)
Signature · 1 line
2.26.2