This allows the following arguments to be passed to `device.connect()`:
* scan_duration_ms
* min_conn_interval_us
* max_conn_interval_us
These are passed as-is to `gap_connect()`. The default value for all of
these is `None`, which causes gap_connect to use its own defaults.
Signed-off-by: Joris van der Wel <joris@jorisvanderwel.com>
Fixes are needed to support the cases of:
- There may be more than one UUID per advertising field.
- The UUID advertising field may be empty (no UUIDs).
- Constructing 32-bit `bluetooth.UUID()` entities, which must be done by
passing in a 4-byte bytes object, not an integer.
Signed-off-by: Damien George <damien@micropython.org>
This replaces the options that could be specified previously to include
and require.
The `aioble` package now provides everything. For a minimal install, the
individual components can now be installed or require()'ed explicitly.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>