diff options
author | Inga Stotland <inga.stotland@gmail.com> | 2023-05-05 12:39:31 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@gmail.com> | 2023-05-12 11:22:14 -0700 |
commit | 93d0d8b2fc696212743be2fe9cedcf0edb1073d4 (patch) | |
tree | 8657b05f8c1b87af1655d1381e41045a35c87e84 /mesh/bluetooth-meshd.rst.in | |
parent | 8c452c2ec1739efe581273bacd738e5294d0ca0f (diff) | |
download | bluez-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/bluetooth-meshd.rst.in')
-rw-r--r-- | mesh/bluetooth-meshd.rst.in | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mesh/bluetooth-meshd.rst.in b/mesh/bluetooth-meshd.rst.in index 06cdb69da..761536711 100644 --- a/mesh/bluetooth-meshd.rst.in +++ b/mesh/bluetooth-meshd.rst.in @@ -36,14 +36,17 @@ OPTIONS -i <type>, --io <type> Specifies I/O interface type: - *hci<index>* - Use generic HCI io on interface hci<index>, - or, if no idex is specified, the first available one. + *auto* - Use first available controller: via MGMT interface + if kernel supports it, otherwise, via raw HCI socket. + + *generic:[hci]<index>* - Use generic HCI io on interface + hci<index>. *unit:<fd_path>*- Specifies open file descriptor for daemon testing. - By default, if no type is specified, uses generic I/O - on the first available HCI interface. + By default, if no type is specified, uses auto I/O + on the first available controller. -c <file>, --config <file> Specifies an explicit config file path instead of relying on the |