Commit: 93d0d8b2fc696212743be2fe9cedcf0edb1073d4
Parent: 8c452c2ec1739efe581273bacd738e5294d0ca0f
Author: Inga Stotland <inga.stotland@gmail.com>
Committer: Brian Gix <brian.gix@gmail.com>
Date: 2023-05-12 21:22:14
Tree: 8657b05f8c1b87af1655d1381e41045a35c87e84

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

M mesh/bluetooth-meshd.rst.in | 11 +++++++- - - -
M mesh/main.c | 40 ++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/mesh-io-generic.c | 3 +++
M mesh/mesh-io.c | 17 ++++++++++++- - - - -
M mesh/mesh-mgmt.c | 5 +++++
M mesh/mesh-mgmt.h | 1 +

6 files changed, 40 insertions(+), 37 deletions(-)

View Full Diff | Patch