Commit: 6e2066fdab73e5b028be9c5fa667a4ea03349c7f
Parent: 9c288dd23a3bbd4a4e41c69882f5f18212da62b5
Author: Frédéric Danis <frederic.danis@collabora.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-06-13 21:03:29
Tree: 5417c924814eaf934ceb59dedeb52bca51de3e2a

btproxy: Allow to select multiple BT controllers When running on a computer with a real Bluetooth controller (e.g. hci0) and multiple emulators (e.g. hci1 and hci2) it isn't possible to use the emulators with 2 test-runner vms. If btproxy is started without index parameter the first test-runner will use hci0, and btprox can't be started with multiple index parameters (e.g. -i1 -i2). This patch keeps the old beahvior when used without -i option, in this case it will try to use the first controller available. It also allows to select multiple controllers to be used by btproxy.

Diffstat

M tools/btproxy.c | 41 +++++++++++++++++++++++++- - - - - - - - - - - - - - - -

1 files changed, 25 insertions(+), 16 deletions(-)

View Full Diff | Patch