diff options
author | Inga Stotland <inga.stotland@intel.com> | 2020-07-23 15:00:21 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2020-07-25 14:36:04 -0700 |
commit | 81a0868b082ccad7752c8d768addc48aca108f64 (patch) | |
tree | 68b98d0c7ece98df6d39c07e7f98652b39fa0234 /mesh/cfgmod.h | |
parent | e9db825e99ac12b767fb73b2f05778e8e13cf752 (diff) | |
download | bluez-81a0868b082ccad7752c8d768addc48aca108f64.tar.gz |
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 (limited to 'mesh/cfgmod.h')
-rw-r--r-- | mesh/cfgmod.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh/cfgmod.h b/mesh/cfgmod.h index 383fdbf6b..7b6a95807 100644 --- a/mesh/cfgmod.h +++ b/mesh/cfgmod.h @@ -17,8 +17,8 @@ * */ -#define CONFIG_SRV_MODEL (VENDOR_ID_MASK | 0x0000) -#define CONFIG_CLI_MODEL (VENDOR_ID_MASK | 0x0001) +#define CONFIG_SRV_MODEL SET_ID(SIG_VENDOR, 0x0000) +#define CONFIG_CLI_MODEL SET_ID(SIG_VENDOR, 0x0001) /* New List */ #define OP_APPKEY_ADD 0x00 |