Parent: 879ea56829c49e94f1015ca13715709ffe970388
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-08-26 18:46:55
Tree: 530facaba992328d2c66a077f6dbfc00a6c88720
mesh: Handle "options" dictionary in Send/Publish methods This adds processing of "options" dictionary argument in Send, DevKeySend & Publish methods on mesh.Node interface. 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 | mesh/cfgmod-server.c | | | 2 | +- |
| M | mesh/model.c | | | 6 | +++- - - |
| M | mesh/model.h | | | 9 | +++- - - - - - |
| M | mesh/node.c | | | 140 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 files changed, 75 insertions(+), 82 deletions(-)