Gilles Boccon-Gibod
43a8cc37f8
add iso support to bench app
2025-07-07 13:03:19 +02:00
Josh Wu
0ab5b6c49a
Migrate all HCI_Event to dataclasses
2025-06-25 17:07:22 +08:00
Josh Wu
a0498af626
Dataclass-based HCI packets
2025-06-14 08:03:48 +08:00
Josh Wu
60e31884c8
HCI: Avoid patching __init__
2025-06-09 22:08:18 +08:00
Josh Wu
8a0cd5d0d1
Replace deprecated typing aliases
2025-06-07 23:39:35 +08:00
Josh Wu
7569da37e4
Replace legacy transport and role constants
2025-04-09 19:04:02 +08:00
Josh Wu
637224d5bc
Enum: PhysicalTransport, Role, AddressType
2025-03-09 23:34:01 +08:00
Gilles Boccon-Gibod
cbd46adbcf
add support for ACL and ISO HCI packet queues
2025-01-22 13:42:29 -05:00
Gilles Boccon-Gibod
9d3d5495ce
only use __bytes__ when not argument is needed.
2024-11-23 15:56:14 -08:00
Josh Wu
bbcd14dbf0
Support Periodic Advertising
2024-11-19 16:27:13 +08:00
Gilles Boccon-Gibod
58d4ab913a
update black formatter to version 24
2024-04-01 14:44:46 -07:00
Josh Wu
e308051885
Add LMP feature reader
2024-02-03 13:29:25 +08:00
Josh Wu
fa4df6e3a2
Controller: CIS implementation
2024-01-11 01:16:42 +08:00
Josh Wu
eff05afb7a
LE read remote features
2024-01-09 11:30:08 +08:00
zxzxwu
d8e6700611
Merge pull request #383 from zxzxwu/controller
...
Controller: SCO implementation
2024-01-09 09:39:13 +08:00
Josh Wu
8d46bc04d2
Controller: SCO implementation
2023-12-30 14:22:58 +08:00
Gilles Boccon-Gibod
b90d0f8710
fix tests
2023-12-26 09:09:20 -08:00
Josh Wu
dd090c9e6b
Add ASCS tests
2023-12-08 11:00:44 +08:00
Gabriel White-Vega
59d7717963
Remove mutable ret pattern and test feature combinations
...
After adding test for feature combinations, I found a corner case where, when Transport is dropped and the process is terminated in a test, the `close` Python future is not awaited.
I don't know what other situations this issue may arise, so I have safe-guarded it via `block_on` instead of spawning a thread.
2023-10-18 15:39:37 -04:00
Gabriel White-Vega
1051648ffb
Add support for extended advertising via Rust-only API
...
* Extended functionality is gated on an "unstable" feature
* Designed for very simple use and minimal interferance with existing legacy implementation
* Intended to be temporary, until bumble can integrate extended advertising into its core functionality
* Dropped `HciCommandWrapper` in favor of using bumble's `HCI_Command.from_bytes` for converting from PDL into bumble implementation
* Refactored Address and Device constructors to better match what the python constructors expect
2023-10-10 13:35:31 -04:00
Josh Wu
b312170d5f
Typing transport
2023-09-08 15:27:01 +08:00
Gilles Boccon-Gibod
2bfec3c4ed
add sink method for lost transports
2023-08-12 10:54:20 -07:00
Gilles Boccon-Gibod
b758825164
add flow control command
2023-07-22 13:04:39 -07:00
Gilles Boccon-Gibod
779dfe5473
accept Host Buffer Size Command in the controller
2023-07-21 19:36:26 -07:00
Josh Wu
21d8a0d577
Add Classic Local Link support
...
Currently supported features:
* Connect
* Accept
* Switch Role
* Disconnect
* ACL data transmittion
2023-03-25 15:11:59 +08:00
uael
d21da78aa3
overall: host a minimal copy of ainsicolors
2023-02-23 20:53:06 +00: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
Gilles Boccon-Gibod
7e854efbbb
support more commands in controller.py
2023-01-06 21:51:47 -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
Gilles Boccon-Gibod
135df0dcc0
format with Black
2022-12-10 09:40:12 -08:00
Gilles Boccon-Gibod
eb8556ccf6
gbg/extended scanning ( #47 )
...
Squashed:
* add extended report class
* more HCI commands
* add AdvertisingType
* add phy options
* fix tests
2022-10-19 10:06:00 -07:00
Octavian Purdila
b4de38cdc3
Fix address resolution handling
...
In one of the refactors the command address_resolution field was
changed to address_reslution_enable but the controller code was not
updated.
2022-10-11 22:53:42 +00:00
Gilles Boccon-Gibod
ebd0a0c8ca
more complete set of HCI types and constants
2022-07-19 19:53:18 -07:00
Gilles Boccon-Gibod
6ac91f7dec
initial import
2022-05-16 19:42:31 -07:00