Josh Wu
cf60b5ffbb
Replace send_pdu() with write()
2026-01-12 13:16:49 +08:00
Josh Wu
3f643de4c1
Ruff: Add and fix UP rules
2026-01-01 03:25:32 +08:00
graynode
4b25b3581d
updated per PR input
2025-10-24 10:09:02 -04:00
graynode
9601c7f287
fixed formatting issue
2025-10-24 09:30:45 -04:00
graynode
dae3ec5cba
Fixed bug where it's possible for tx_credit to goe negative
2025-10-23 21:56:00 -04:00
Gilles Boccon-Gibod
7aba36302a
use isort when formatting
2025-08-21 16:38:58 -07:00
Josh Wu
4a88e9a0cf
Always log exception using logging.exception
2025-08-18 16:03:58 +08:00
Josh Wu
8a0cd5d0d1
Replace deprecated typing aliases
2025-06-07 23:39:35 +08:00
Josh Wu
22d6a7bf05
Declare emitted events as constants
2025-04-26 03:55:31 +08:00
Josh Wu
55801bc2ca
Make all event emitters async
...
* Also remove AbortableEventEmitter
2025-04-16 12:40:57 +08:00
Josh Wu
a57cf13e2e
Cleanup relative imports
2025-04-12 23:06:52 +08:00
Josh Wu
7569da37e4
Replace legacy transport and role constants
2025-04-09 19:04:02 +08:00
zxzxwu
5aae44b610
Merge pull request #501 from zxzxwu/exception
...
Reorganize exceptions
2024-07-12 15:44:58 +08:00
Josh Wu
f8a2d4f0e0
Reorganize exceptions
...
* Add BaseBumbleException as a "real" root error
* Add several core error classes and properly replace builtin errors
with them
* Add several error classes for specific modules (transport, device)
2024-06-11 16:13:08 +08:00
Gilles Boccon-Gibod
00edd1fbf8
post-rebase fixes
2024-06-10 10:30:59 -07:00
Gilles Boccon-Gibod
999d7b07e1
wip
2024-06-09 11:39:44 -07:00
Gilles Boccon-Gibod
f5baf51132
improve DLC parameters
2024-06-03 18:11:13 -07:00
Gilles Boccon-Gibod
f2dc8bd84e
wip (+2 squashed commits)
...
Squashed commits:
[451a295] wip
[ed7b5b6] wip (+1 squashed commit)
Squashed commits:
[9d938c8] wip
wip
wip
2024-05-30 14:59:22 -07:00
Josh Wu
9682077f6b
RFCOMM: Avoid receive packets before DLC sink set
2024-05-09 17:57:13 +08:00
Gilles Boccon-Gibod
a877283360
add rfcomm options and fix l2cap mtu negotiation
2024-02-05 08:56:59 -08:00
Josh Wu
10e53553d7
Add RFCOMM and SDP helpers
2024-02-03 13:13:35 +08:00
Josh Wu
6a34c9f224
RFCOMM: Slightly refactor and correct constants
2024-02-01 01:18:56 +08:00
Gilles Boccon-Gibod
30f89d5739
simplify
2024-01-09 18:01:34 -08:00
Gilles Boccon-Gibod
481cf40831
update credits even without a sink
2024-01-09 17:58:52 -08:00
Gilles Boccon-Gibod
8980fb8cc7
add drain support and a few tool options
2024-01-02 11:07:52 -08:00
Gilles Boccon-Gibod
47fe93a148
support per-transport ACL queues
2023-12-22 13:52:33 -08:00
Gilles Boccon-Gibod
268f6b0d51
remove unneeded constructor parameters
2023-11-22 15:30:18 -08:00
Josh Wu
5a85765360
Cleanup legacy L2CAP API
2023-10-11 14:33:44 +08:00
Josh Wu
e732f2589f
Refactor L2CAP API
2023-10-07 20:01:15 +08:00
Gilles Boccon-Gibod
8be9f4cb0e
add doc and fix types
2023-09-06 17:05:30 -07:00
Gilles Boccon-Gibod
1ea12b1bf7
rebase
2023-09-06 17:05:24 -07:00
Josh Wu
7341172739
Use __future__.annotations for typing
2023-08-22 14:44:15 +08:00
Josh Wu
e6b566b848
RFCOMM: Refactor role to enum
2023-08-21 15:16:34 +08:00
Josh Wu
2527a711dc
Refactor RFCOMM states to enum
2023-08-21 15:12:52 +08:00
Josh Wu
5fba6b1cae
Complete typing in RFCOMM
2023-08-21 15:12:52 +08:00
Josh Wu
4d74339c04
Add typing for RFCOMM
2023-06-06 00:04:25 +08:00
Gilles Boccon-Gibod
859aea5a99
fix role state for classic connections
2023-04-07 10:24:26 -07:00
Gilles Boccon-Gibod
1efa2e9d44
add benchmark tool and doc
2023-03-20 18:25:21 -07:00
uael
d21da78aa3
overall: host a minimal copy of ainsicolors
2023-02-23 20:53:06 +00: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
Michael Mogenson
e6c062117f
Swap arguments to ConnectionError in RFCOMM Multiplexer
...
Minor fixup. Change the order of arguments to ConnectionError to set the
transport and address correctly in rfcomm.py on_dm_frame().
2022-11-18 10:02:40 -05:00
Abel Lucas
45dd849d9f
classic: update ConnectionError to take transport and peer address
2022-10-20 14:53:03 +00:00
Gilles Boccon-Gibod
431445e6a2
fix imports ( #25 )
2022-08-16 11:29:56 -07:00
Gilles Boccon-Gibod
6ac91f7dec
initial import
2022-05-16 19:42:31 -07:00