Josh Wu
9e1358536b
Add switch_role
2023-03-25 15:17:50 +08:00
Josh Wu
4fc13585cc
Handle BR/EDR connection roles
2023-03-24 15:13:48 +08:00
Gilles Boccon-Gibod
e77723a5f9
Merge pull request #135 from google/gbg/snoop
...
add snoop support
2023-03-07 09:16:33 -08:00
Gilles Boccon-Gibod
fe8cf51432
Merge pull request #139 from google/gbg/hotfix-001
...
two small hotfixes
2023-03-07 09:16:15 -08:00
Gilles Boccon-Gibod
97a0e115ae
two small hotfixes
2023-03-05 20:24:16 -08:00
Rahul Arya
08a6f4fa49
Add support for ATT permissions on server-side
2023-03-03 16:11:33 -08:00
Rahul Arya
c97ba4319f
Fix UUID byte-order in serialization
2023-03-03 22:38:21 +00:00
Gilles Boccon-Gibod
a5275ade29
add snoop support
2023-03-02 14:34:49 -08:00
uael
0594eaef09
link: make websockets import lazy
2023-02-23 21:06:12 +00:00
uael
05200284d2
a2dp: get rid of construct dependency
2023-02-23 21:01:17 +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
uael
ad27de7717
device: remove "feature" which enable accept to return the same connection has connect
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
Gilles Boccon-Gibod
de47721753
fix typo caused by an earlier refactor.
2023-02-08 09:56:11 -08:00
Gilles Boccon-Gibod
83a76a75d3
fix getting the filename from the keystore option.
2023-02-08 09:40:19 -08:00
Lucas Abel
d5b5ef8313
Merge pull request #122 from google/uael/abort-on-fix-invalid-state
...
utils: fix possible invalide state error while canceling future for `abort_on`
2023-02-06 17:13:34 -08:00
uael
856a8d53cd
utils: fix possible invalide state error while canceling future for abort_on
2023-02-06 16:58:23 +00:00
Gilles Boccon-Gibod
b7ef09d4a3
fix format
2023-02-04 09:26:31 -08:00
Gilles Boccon-Gibod
b5b6cd13b8
replace bitstruct with construct
2023-02-04 09:23:13 -08:00
uael
b731f6f556
overall: add types hints to the small subset used by avatar
2023-02-02 19:37:55 +00:00
Abel Lucas
895f1618d8
host: fixed .latency attribute error
2023-01-27 23:05:43 +00:00
Gilles Boccon-Gibod
f1686d8a9a
fix typo in constant name
2023-01-22 19:10:13 -08:00
Gilles Boccon-Gibod
5c6a7f2036
Merge pull request #113 from google/gbg/mypy
...
add basic support for mypy type checking
2023-01-20 08:08:19 -08:00
Gilles Boccon-Gibod
99758e4b7d
add basic support for mypy type checking
2023-01-20 00:20:50 -08:00
Alan Rosenthal
bb297e7516
Fix show attributes
...
`show attributes` wasn't being populated since `show_attributes()` was never called.
Also updated `show attributes` to match the color and indentation of `show services`
2023-01-19 12:21:37 -05:00
Lucas Abel
8a91c614c7
Merge pull request #109 from qiaoccolato/main
...
transport: make libusb_package optional
2023-01-18 14:48:05 -08:00
Qiao Yang
70a50a74b7
transport: make libusb_package optional
2023-01-17 15:17:11 -08:00
Gilles Boccon-Gibod
0a22f2f7c7
use HCI_LE_Rand
2023-01-13 16:59:34 -08:00
Gilles Boccon-Gibod
422b05ad51
don't set a random address when it is 00:00:00:00:00:00
2023-01-13 13:22:27 -08:00
Gilles Boccon-Gibod
16e926a216
Merge pull request #107 from yuyangh/yuyangh/add_ASHA_L2CAP
...
add ASHA L2CAP and Event Emitter
2023-01-13 11:05:16 -08:00
Aleksandr Aleksandrov
e37c77532b
hci_socket.py: fix socket.fileno() call
2023-01-11 16:16:45 +03:00
Gilles Boccon-Gibod
7e854efbbb
support more commands in controller.py
2023-01-06 21:51:47 -08:00
Yuyang Huang
64b75be29b
add psm parameter for testing support
2023-01-03 16:39:45 -08:00
Yuyang Huang
06018211fe
emit event for ASHA l2cap packet
2023-01-03 15:01:32 -08:00
Yuyang Huang
e640991608
Merge branch 'google:main' into yuyangh/add_ASHA_L2CAP
2023-01-03 14:58:37 -08:00
Yuyang Huang
1068a6858d
improve logging
2022-12-20 13:33:18 -08:00
Lucas Abel
17db5dd4ff
Merge pull request #103 from google/uael/device-fixes
...
Misc device fixes
2022-12-20 12:15:49 -08:00
Abel Lucas
ea0a7e2347
device: commit LE connection **before** reading it's PHY
2022-12-20 19:25:43 +00:00
Yuyang Huang
6febd1ba35
add L2CAP CoC to ASHA
2022-12-20 11:15:58 -08:00
Abel Lucas
ce049865a4
device: always prefer R2 for remote name request
2022-12-20 01:48:08 +00:00
Gilles Boccon-Gibod
6e0129b71d
fix libusb loading on Windows
2022-12-18 22:00:26 -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
Michael Mogenson
80fe2ea422
Merge pull request #102 from mogenson/libusb_package
...
Load libusb-1.0 shared library from libusb_package wheel
2022-12-15 21:53:56 -05:00
Abel Lucas
f580ffcbc3
device: set as Secure Connection when encrypted with AES
2022-12-15 17:02:21 +00:00
Abel Lucas
5178c866ac
classic: add to .encrypt the possibilty to disable encryption
2022-12-15 17:02:21 +00:00
Abel Lucas
441933bd64
reverted: 662704e "classic: complete authentication when being the .authenticate acceptor"
2022-12-15 17:02:21 +00:00
Abel Lucas
287df94090
host: spawn each asynchronous task with the right aliveness
2022-12-15 17:02:21 +00:00