Bluetoothctl.expect_all#
- Bluetoothctl.expect_all(patterns, reject=None, timeout=None, **kw)[source]#
Wait for all the given patterns in the
bluetoothctloutput, in any order.- Parameters:
patterns (
sequence) – regular expressions to wait for.reject (
sequence) – regular expressions aborting every round; seeexpect.timeout (
float) – overall time budget in seconds for all the patterns, or None to use the process timeout per round.**kw – keyword arguments passed to each
pexpect.expect.
- Returns:
groups of each pattern’s match, in the order of
patterns.- Return type:
list