Commit Graph

1521 Commits

Author SHA1 Message Date
Gilles Boccon-Gibod
9161cea577 Merge pull request #846 from google/gbg/ruff-hot-fix 2025-12-31 14:14:47 -08:00
Gilles Boccon-Gibod
7c7b792cf9 remove unused import 2025-12-30 13:22:27 -08:00
Gilles Boccon-Gibod
8e28f4e159 Merge pull request #845 from google/gbg/ruff
use ruff for linting and import sorting
2025-12-30 11:38:48 -08:00
zxzxwu
8823cf108f Merge pull request #840 from zxzxwu/credit
L2CAP: Enhanced Credit-based Flow Control Mode
2025-12-30 20:26:44 +08:00
Gilles Boccon-Gibod
4fb501a0ef use ruff for linting and import sorting 2025-12-29 19:28:45 -08:00
Gilles Boccon-Gibod
ad0753b959 Merge pull request #843 from dlech/type-hints
Fix missing type hints on Device.notify_subscribers()
2025-12-29 16:35:46 -08:00
Gilles Boccon-Gibod
f12cccf6cd Merge pull request #844 from dlech/remove-unused-imports
Remove unused imports
2025-12-29 16:28:08 -08:00
David Lechner
5bbbe5e40f Remove unused imports
Mechanically remove unused imports with:

    ruff check --select F401 --fix --extend-exclude grpc_protobuf
2025-12-29 17:19:11 -06:00
David Lechner
793fcd750c Fix missing type hints on Device.notify_subscribers()
Add type hints for all arguments. Otherwise static checkers complain
when you try to use it.
2025-12-29 16:03:46 -06:00
Gilles Boccon-Gibod
ae2c638256 Merge pull request #842 from dlech/fix-duplicate-GATT_CONTENT_CONTROL_ID_CHARACTERISTIC
GATT: fix redefinition of GATT_CONTENT_CONTROL_ID_CHARACTERISTIC
2025-12-29 12:12:54 -08:00
David Lechner
9ad0eafe37 GATT: remove duplicate GATT_CONTENT_CONTROL_ID_CHARACTERISTIC
Remove the first occurrence of GATT_CONTENT_CONTROL_ID_CHARACTERISTIC.

The "Telephone Bearer Service (TBS)" section also defines
GATT_CONTENT_CONTROL_ID_CHARACTERISTIC later, so we don't need this one.
2025-12-29 13:57:52 -06:00
Josh Wu
618e977f20 L2CAP: Enhanced Credit-based Flow Control Mode 2025-12-23 19:51:55 +08:00
zxzxwu
7fdc4f624e Merge pull request #838 from salmanmkc/upgrade-github-actions-node24-general
Upgrade GitHub Actions to latest versions
2025-12-18 17:32:16 +08:00
zxzxwu
255ca60d95 Merge pull request #839 from google/dependabot/pip/docs/mkdocs/pip-d9bbda99d0
Bump pymdown-extensions from 10.0 to 10.16.1 in /docs/mkdocs in the pip group across 1 directory
2025-12-17 19:20:19 +08:00
zxzxwu
716f57de46 Merge pull request #837 from salmanmkc/upgrade-github-actions-node24
Upgrade GitHub Actions for Node 24 compatibility
2025-12-17 19:20:14 +08:00
Salman Muin Kayser Chishti
95a987d3a4 Fix pypa/gh-action-pypi-publish to use SHA pinning
Pin to release/v1.13 for security best practices.
The v1 tag doesn't exist - only release/v1 branch exists.

Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2025-12-17 10:31:35 +00:00
dependabot[bot]
6858c591aa Bump pymdown-extensions
Bumps the pip group with 1 update in the /docs/mkdocs directory: [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions).


Updates `pymdown-extensions` from 10.0 to 10.16.1
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.0...10.16.1)

---
updated-dependencies:
- dependency-name: pymdown-extensions
  dependency-version: 10.16.1
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-16 20:46:58 +00:00
Salman Muin Kayser Chishti
e03b9cb441 Upgrade GitHub Actions to latest versions 2025-12-16 14:34:19 +00:00
Salman Muin Kayser Chishti
ade36f8d04 Upgrade GitHub Actions for Node 24 compatibility 2025-12-16 14:34:13 +00:00
Gilles Boccon-Gibod
48744ee9db Merge pull request #833 from google/gbg/netsim_enhancements
android-netsim transport enhancements
2025-12-15 15:38:20 -08:00
Gilles Boccon-Gibod
302e496890 android-netsim transport enhancements 2025-12-15 15:14:57 -08:00
Gilles Boccon-Gibod
6649464cd6 Merge pull request #835 from google/gbg/fix-rust-latest 2025-12-15 11:20:19 -08:00
Gilles Boccon-Gibod
c46df21385 use 1.91.0 instead of stable until a fix is available 2025-12-14 16:32:44 -08:00
Gilles Boccon-Gibod
7a35f5d095 bump pdl dependencies versions 2025-12-14 11:37:49 -08:00
zxzxwu
73f2853c5e Merge pull request #830 from zxzxwu/bridge
Add some docs about Android and Hardware
2025-12-10 18:52:15 +08:00
Josh Wu
de3009e296 Add some docs about Android and Hardware 2025-12-10 18:08:13 +08:00
zxzxwu
e47cb5512c Merge pull request #779 from zxzxwu/l2cap
L2CAP Enhanced Retransmission mode
2025-12-03 21:57:48 +08:00
zxzxwu
3171b5a19e Merge pull request #828 from zxzxwu/rust
Rust: Fix cargo-all-features to 1.11.0
2025-12-01 16:31:21 +08:00
Josh Wu
456cb59b48 L2CAP: FCS Implementation 2025-12-01 16:10:45 +08:00
zxzxwu
33ca324e41 Merge pull request #827 from zxzxwu/emu
Implement extended advertising emulation
2025-12-01 15:57:42 +08:00
Josh Wu
a84f0279b1 Refactor LE emulation with LL and Air Interface 2025-11-28 16:10:38 +08:00
Josh Wu
b93ba007ed Rust: Fix cargo-all-features to 1.11.0 2025-11-28 02:25:52 +08:00
Josh Wu
d2a4c2a8e4 Implement extended advertising emulation 2025-11-27 20:56:10 +08:00
Josh Wu
57e05781ad L2CAP: Enhanced Retransmission Mode 2025-11-24 16:17:11 +08:00
zxzxwu
bae6c1df97 Merge pull request #826 from ljodal/ljodal/cancel-pending-l2cap-connection
Cancel l2cap connection result future on abort
2025-11-19 18:52:32 +08:00
Sigurd Ljødal
7292c2785e Cancel l2cap connection result future on abort
This cancels the `connection_result` future of LeCreditBasedChannel when
abort() is called, e.g. if the LE connection disconnects. This makes it
possible for code waiting for a connection to open to detect that the
connection has failed.

Fixes google/bumble#825
2025-11-14 14:52:09 +01:00
khsiao-google
42711d3d31 Merge pull request #824 from khsiao-google/test_coverage
Add remote name request
v0.0.220
2025-11-11 06:06:37 +08:00
khsiao-google
67a61ae34d Update tests/device_test.py
Co-authored-by: zxzxwu <92432172+zxzxwu@users.noreply.github.com>
2025-11-11 05:34:46 +08:00
khsiao-google
a62f981556 Add remote name request 2025-11-10 14:04:50 +00:00
zxzxwu
6b56b10b6e Merge pull request #823 from zxzxwu/lmp
Refactor classic emulation with LMP protocol
2025-11-09 15:57:47 +08:00
Josh Wu
e0dee2135f Basic LMP implementation 2025-11-09 15:50:12 +08:00
zxzxwu
bb9aa12a74 Merge pull request #822 from zxzxwu/call_soon
Emulation: Improve import, typing, and use call_soon
2025-11-09 15:00:12 +08:00
Josh Wu
da64f66bce Emulation: Improve import, typing, and use call_soon 2025-11-08 22:43:51 +08:00
zxzxwu
f000a3f30a Merge pull request #802 from zxzxwu/version
Upgrade Python version to 3.10-3.14
2025-11-07 23:22:07 +08:00
Gilles Boccon-Gibod
8ad48f92b3 Merge pull request #792 from markusjellitsch/task/fix-deprecated-warnings
Fix - deprecated warning for datetime.utcnow() with Python >= 3.12
2025-11-07 10:58:04 +01:00
zxzxwu
a827669f62 Merge pull request #817 from zxzxwu/device
Use EventWatcher and check_result
2025-11-07 17:16:04 +08:00
Josh Wu
4bee8d5287 Use EventWatcher and send_command(check_result=True) in all similar patterns 2025-11-07 00:37:57 +08:00
Josh Wu
5431941fe7 Upgrade Python version to 3.10-3.14 2025-11-05 04:45:05 +08:00
zxzxwu
d112901a17 Merge pull request #814 from zxzxwu/hid-fix
Fix wrong HID PSM
v0.0.219
2025-11-04 15:20:20 +08:00
Josh Wu
2d74aef0e9 Fix wrong HID PSM 2025-11-04 01:36:07 +08:00