Gilles Boccon-Gibod
859aea5a99
fix role state for classic connections
2023-04-07 10:24:26 -07:00
Lucas Abel
044597de66
Merge pull request #161 from google/uael/smp-get-number-type-hint
...
smp: fix `PairingDelegate.get_number` return type
2023-03-28 11:48:09 -07:00
Hui Peng
423a5a95d8
add get_string API in PairingDelegate
2023-03-27 17:02:12 -07:00
Lucas Abel
8e881fdb18
smp: fix PairingDelegate.get_number return type
...
This function can return `None` to indicate a negative reply,
update the type hint accordingly.
2023-03-27 22:51:23 +00:00
uael
d21da78aa3
overall: host a minimal copy of ainsicolors
2023-02-23 20:53:06 +00:00
Gilles Boccon-Gibod
fbc7cf02a3
Merge pull request #129 from google/gbg/smp-improvements
...
improve smp compatibility with other OS flows
2023-02-14 19:10:51 -08:00
Gilles Boccon-Gibod
2d44de611f
make pylint happy
2023-02-14 16:04:20 -08:00
uael
6645ad47ee
smp: add a small type hint
2023-02-14 21:04:39 +00:00
Gilles Boccon-Gibod
e6fc63b2d8
improve smp compatibility with other OS flows
2023-02-13 10:53:00 -08:00
uael
b731f6f556
overall: add types hints to the small subset used by avatar
2023-02-02 19:37:55 +00:00
Gilles Boccon-Gibod
99758e4b7d
add basic support for mypy type checking
2023-01-20 00:20:50 -08:00
Gilles Boccon-Gibod
c2959dadb4
formatting and linting automation
...
Squashed commits:
[cd479ba] formatting and linting automation
[7fbfabb] formatting and linting automation
[c4f9505] fix after rebase
[f506ad4] rename job
[441d517] update doc (+7 squashed commits)
[2e1b416] fix invoke and github action
[6ae5bb4] doc for git blame
[44b5461] add GitHub action
[b07474f] add docs
[4cd9a6f] more linter fixes
[db71901] wip
[540dc88] wip
2022-12-15 23:07:17 -08:00
Abel Lucas
287df94090
host: spawn each asynchronous task with the right aliveness
2022-12-15 17:02:21 +00:00
Gilles Boccon-Gibod
135df0dcc0
format with Black
2022-12-10 09:40:12 -08:00
Lucas Abel
0d70cbde64
Merge pull request #75 from google/uael/fixes
...
Pairing: device/host fixes & improvements
2022-11-28 21:42:43 -08:00
Abel Lucas
02a474c44e
smp: emit enough information on pairing complete to deduce security level
2022-11-29 00:28:38 +00:00
Alan Rosenthal
a3e4674819
Fix test failures
...
a. `DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead`
Updated call in `bumble/smp.py`
b. `ModuleNotFoundError: No module named 'bumble.apps'`
Updated imports in `tests/import_test.py`
c. Added `pytest-html` for easier viewing of test results
Added package in `setup.cfg`, and hook in `tasks.py`
d. Updated workflows to use `invoke test`
This is a partial fix of #81
2022-11-23 11:31:27 -05:00
Abel Lucas
eb46f60c87
le: save own_address_type on ACL connection for SMP to be able to use the right self address
2022-11-10 02:06:37 +00:00
Abel Lucas
8bbba7c84c
pairing: always ask user for confirmation, even in JUST_WORKS method
2022-11-10 01:58:02 +00:00
Gilles Boccon-Gibod
624e860762
support empty distributions in both directions
2022-08-30 18:50:48 -07:00
Gilles Boccon-Gibod
159cbf7774
support pairing with no key distribution
2022-08-30 18:28:24 -07:00
Josh Wu
99cba19d7c
Support CTKD over BR/EDR
...
Self test is not available Bumble BR/EDR local transport is not
implemented yet.
Test: Internal test - CTKD over BR/EDR
2022-08-30 11:19:22 +08:00
Gilles Boccon-Gibod
472702a9d9
Merge pull request #12 from google/gbg/more-hci-types
...
more hci types
2022-07-26 18:00:21 -07:00
Josh Wu
2f949a1182
Delegate SMP key distribution
...
* Delegate SMP key distribution
* Align LE pairing key expectation
* Parametrize SMP self test, and add key distribution coverage
2022-07-21 01:19:36 +08:00
Josh Wu
4e2fae5145
Implement CTKD over LE
2022-07-21 01:19:25 +08:00
Gilles Boccon-Gibod
ebd0a0c8ca
more complete set of HCI types and constants
2022-07-19 19:53:18 -07:00
Gilles Boccon-Gibod
b4e2f21d2a
add classic pairing io delegation
2022-06-11 01:33:51 -07:00
Gilles Boccon-Gibod
6ac91f7dec
initial import
2022-05-16 19:42:31 -07:00