summaryrefslogtreecommitdiff
path: root/mesh/mesh.h
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2018-09-04 17:20:34 -0700
committerBrian Gix <brian.gix@intel.com>2018-09-06 12:38:17 -0700
commita38796b18d8374e92907e620e347285943061009 (patch)
tree454067419503c39ea9c47dac3216c23c30bdc4b9 /mesh/mesh.h
parent25741fa67deb13dd21b176444a8ee954e1ac2486 (diff)
downloadbluez-a38796b18d8374e92907e620e347285943061009.tar.gz
mesh: Add start up management command chain
This allows co-existense of meshd and bluetoothd. meshd will automatically take control of the first available LE-capable controller that is powered down.
Diffstat (limited to 'mesh/mesh.h')
-rw-r--r--mesh/mesh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh/mesh.h b/mesh/mesh.h
index 7cd1e6158..8d389883b 100644
--- a/mesh/mesh.h
+++ b/mesh/mesh.h
@@ -21,11 +21,11 @@
struct bt_mesh;
struct mesh_net;
-struct bt_mesh *mesh_create(uint16_t index);
+struct bt_mesh *mesh_new(uint16_t index, const char *in_config_name);
struct bt_mesh *mesh_ref(struct bt_mesh *mesh);
void mesh_unref(struct bt_mesh *mesh);
-bool mesh_load_config(struct bt_mesh *mesh, const char *in_config_name);
bool mesh_set_output(struct bt_mesh *mesh, const char *out_config_name);
+void mesh_cleanup(void);
const char *mesh_status_str(uint8_t err);
/* Command line testing */