summaryrefslogtreecommitdiff
path: root/mesh/mesh-mgmt.h
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@gmail.com>2023-05-05 12:39:31 -0700
committerBrian Gix <brian.gix@gmail.com>2023-05-12 11:22:14 -0700
commit93d0d8b2fc696212743be2fe9cedcf0edb1073d4 (patch)
tree8657b05f8c1b87af1655d1381e41045a35c87e84 /mesh/mesh-mgmt.h
parent8c452c2ec1739efe581273bacd738e5294d0ca0f (diff)
downloadbluez-93d0d8b2fc696212743be2fe9cedcf0edb1073d4.tar.gz
mesh: Update the behavior of --io option
This aligns the behavior of command line option --io to add new "auto" value and modify the behavior of "generic" value: *auto* - Use first available controller: via MGMT interface if kernel supports it, otherwise, via raw HCI socket (i.e., default to *generic*). *generic:[hci]<index>* - Use generic HCI io on interface hci<index> The default value is now *auto*, whereas *generic* is used only if the specific HCI controller is explicitly specified.
Diffstat (limited to 'mesh/mesh-mgmt.h')
-rw-r--r--mesh/mesh-mgmt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesh/mesh-mgmt.h b/mesh/mesh-mgmt.h
index a3cd72faf..570282297 100644
--- a/mesh/mesh-mgmt.h
+++ b/mesh/mesh-mgmt.h
@@ -22,3 +22,4 @@ unsigned int mesh_mgmt_register(uint16_t event, uint16_t index,
void *user_data, mgmt_destroy_func_t destroy);
bool mesh_mgmt_unregister(unsigned int id);
void mesh_mgmt_destroy(void);
+void mesh_mgmt_clear(void);