summaryrefslogtreecommitdiff
path: root/mesh/node.h
diff options
context:
space:
mode:
authorAtul Rai <a.rai@samsung.com>2018-05-17 17:18:04 +0530
committerAtul Rai <a.rai@samsung.com>2018-05-17 12:53:21 +0000
commitc5f8c8712d47efc3903ba2a04af2299388ccf46e (patch)
tree033ab8247bfa9439f4820e6c245a4526abdb7e78 /mesh/node.h
parent145ce2b88181348dd69e43c8f59e1e0e709ae443 (diff)
downloadbluez-c5f8c8712d47efc3903ba2a04af2299388ccf46e.tar.gz
bluez-c5f8c8712d47efc3903ba2a04af2299388ccf46e.tar.bz2
bluez-c5f8c8712d47efc3903ba2a04af2299388ccf46e.zip
Import meshctl & bt-shell related apis and fixes
This patch imports the new meshctl and bt-shell apis and fixes from open source bluez (https://git.kernel.org/pub/scm/bluetooth/bluez.git). Change-Id: Iffa5b474c3246938f2b907eabd58c43a7e36c34a Signed-off-by: Atul Rai <a.rai@samsung.com>
Diffstat (limited to 'mesh/node.h')
-rw-r--r--mesh/node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesh/node.h b/mesh/node.h
index 1fab80a1..a5b5c752 100644
--- a/mesh/node.h
+++ b/mesh/node.h
@@ -111,6 +111,8 @@ bool node_set_composition(struct mesh_node *node,
struct mesh_node_composition *comp);
bool node_add_binding(struct mesh_node *node, uint8_t ele_idx,
uint32_t model_id, uint16_t app_idx);
+bool node_add_subscription(struct mesh_node *node, uint8_t ele_idx,
+ uint32_t model_id, uint16_t addr);
uint8_t node_get_default_ttl(struct mesh_node *node);
bool node_set_default_ttl(struct mesh_node *node, uint8_t ttl);
bool node_set_sequence_number(struct mesh_node *node, uint32_t seq);