Commit: 81a0868b082ccad7752c8d768addc48aca108f64
Parent: e9db825e99ac12b767fb73b2f05778e8e13cf752
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-07-26 00:36:04
Tree: 68b98d0c7ece98df6d39c07e7f98652b39fa0234

mesh: Move model functionality out of node.c to model.c This moves the model related code out of node.c to model.c providing for better functional separation of modules. Also, use the value of 0xFFFF for internal representation of vendor ID for BT SIG defined models. This allows to maintain a single internal vendor ID / model ID space.

Diffstat

M mesh/cfgmod-server.c | 172 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/cfgmod.h | 4 ++- -
M mesh/mesh-config-json.c | 5 +- - - -
M mesh/model.c | 544 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/model.h | 74 +++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/node.c | 319 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/node.h | 4 ++- -

7 files changed, 544 insertions(+), 578 deletions(-)

View Full Diff | Patch