mesh: Rename --index to --io, support additional io types

System Internals / BlueZ - Michał Lowas-Rzechonek [silvair.com] - 16 January 2020 16:45 EST

This allows specifying io type and options when invoking the daemon.

When no "-i" is passed, meshd still runs with MESH_IO_TYPE_GENERIC and tries to attach to the first available HCI interface.

Options "-i " and "-i hci" are just shortcuts for "--io=generic:" and "--io=generic:hci", respectively.

b31eee890 mesh: Rename --index to --io, support additional io types.
mesh/main.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 69 insertions(+), 20 deletions(-)

Upstream: git.kernel.org


  • Share