Commit: 879ea56829c49e94f1015ca13715709ffe970388
Parent: c9f7c61fd432e81d114df10f519ebc548e6657cc
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-08-26 18:46:52
Tree: de7eb936179a67956c8bb02b625ebb85df8d5345

doc/mesh-api: Add "options" dictionary to Send/Publish This modifies Send, DevKeySend and Publish methods on 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 In case of Publish(), and additional keyword is defined "Vendor" - 16-bit Company ID as defined by the Bluetooth SIG Other key words may be defined in future to accommodate evolving requirements of Mesh Profile specification. Also, the addition of "options" dictionary to Publish allows to eliminate VendorPublish() method (taken care by "Vendor" keyword).

Diffstat

M doc/mesh-api.txt | 60 +++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 35 insertions(+), 25 deletions(-)

View Full Diff | Patch