summaryrefslogtreecommitdiff
path: root/mesh/node.h
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2020-07-23 15:00:21 -0700
committerBrian Gix <brian.gix@intel.com>2020-07-25 14:36:04 -0700
commit81a0868b082ccad7752c8d768addc48aca108f64 (patch)
tree68b98d0c7ece98df6d39c07e7f98652b39fa0234 /mesh/node.h
parente9db825e99ac12b767fb73b2f05778e8e13cf752 (diff)
downloadbluez-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/node.h')
-rw-r--r--mesh/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh/node.h b/mesh/node.h
index df058458a..47c998530 100644
--- a/mesh/node.h
+++ b/mesh/node.h
@@ -58,8 +58,8 @@ bool node_default_ttl_set(struct mesh_node *node, uint8_t ttl);
bool node_set_sequence_number(struct mesh_node *node, uint32_t seq);
uint32_t node_get_sequence_number(struct mesh_node *node);
int node_get_element_idx(struct mesh_node *node, uint16_t ele_addr);
-struct l_queue *node_get_element_models(struct mesh_node *node, uint8_t ele_idx,
- int *status);
+struct l_queue *node_get_element_models(struct mesh_node *node,
+ uint8_t ele_idx);
uint16_t node_get_crpl(struct mesh_node *node);
bool node_init_from_storage(struct mesh_node *node, const uint8_t uuid[16],
struct mesh_config_node *db_node);