Parent: 8f0839a1c46300ceb1b129d17a3bff446ff79d08
Author: Brian Gix <brian.gix@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-07-18 19:49:21
Tree: daae5b099ab13750f495e8e625ec95e5a5565f74
mesh: Propagate Net Index up Rx message chain When a model receives a message, it is required by the spec to respond using the same credentials. When an App Key is used, this is trivial because App keys are bound to Net keys, so only the App Index is required. Messages received on a Device key however, need the Net Index preserved from original message for re-use during the response.
Diffstat
| M | mesh/cfgmod-server.c | | | 154 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | mesh/model.c | | | 129 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | mesh/model.h | | | 10 | ++++++- - - - |
| M | mesh/net.c | | | 92 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | mesh/net.h | | | 6 | +++- - - |
| M | mesh/node.c | | | 10 | +++++- - - - - |
6 files changed, 214 insertions(+), 187 deletions(-)