Josh Wu
41fe63df06
Fix typos
2023-09-08 16:30:06 +08:00
David Duarte
cf7f2e8f44
Make platformdirs import lazy
...
platformdirs is not available in Android
2023-09-07 21:13:29 -07:00
Gilles Boccon-Gibod
d292083ed1
Merge pull request #272 from zxzxwu/gfp
...
Bring HfpProtocol back
2023-09-07 13:03:36 -07:00
Gilles Boccon-Gibod
9b11142b45
Merge pull request #267 from google/gbg/rfcomm-with-uuid
...
rfcomm with UUID
2023-09-07 13:01:56 -07:00
Hui Peng
acdbc4d7b9
Raise an exception when an L2cap connection fails
2023-09-07 19:24:38 +02:00
Josh Wu
3852aa056b
Bring HfpProtocol back
2023-09-07 23:20:09 +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
Gilles Boccon-Gibod
fd4d1bcca3
Merge pull request #261 from marshallpierce/mp/rust-realtek-tools
...
Rust tools for working with Realtek firmware
2023-09-05 10:55:29 -07:00
Marshall Pierce
0e2fc80509
Rust tools for working with Realtek firmware
...
Further adventures in porting tools to Rust to flesh out the supported
API.
These tools didn't feel like `example`s, so I made a top level `bumble`
CLI tool that hosts them all as subcommands. I also moved the usb probe
not-really-an-`example` into it as well. I'm open to suggestions on how
best to organize the subcommands to make them intuitive to explore with
`--help`, and how to leave room for other future tools.
I also adopted the per-OS project data dir for a default firmware
location so that users can download once and then use those .bin files
from anywhere without having to sprinkle .bin files in project
directories or reaching inside the python package dir hierarchy.
2023-08-30 15:37:35 -06:00
Josh Wu
249a205d8e
Typing packet transmission flow
2023-08-30 01:47:46 +08:00
Gilles Boccon-Gibod
7485801222
Merge pull request #256 from zxzxwu/sdp-type-fix
...
Typing SDP and add tests
2023-08-28 08:41:02 -07:00
Gilles Boccon-Gibod
4678e59737
Merge pull request #250 from google/gbg/new-rtk-dongles
...
add entry to the list of supported USB devices
2023-08-28 08:40:40 -07:00
Gilles Boccon-Gibod
952d351c00
Merge pull request #247 from google/gbg/wasm-with-ws
...
wasm with ws
2023-08-28 08:40:18 -07:00
Josh Wu
727586e40e
Typing SDP
2023-08-23 14:52:44 +08:00
Gilles Boccon-Gibod
3aa678a58e
Merge pull request #253 from zxzxwu/rfcomm_type_fix
...
Adding more typing in rfcomm.py
2023-08-22 09:47:38 -07:00
Josh Wu
7341172739
Use __future__.annotations for typing
2023-08-22 14:44:15 +08:00
Gilles Boccon-Gibod
91b9fbe450
Merge pull request #240 from zxzxwu/ssp
...
Handle SSP Complete events
2023-08-21 18:01:28 -07: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
Gilles Boccon-Gibod
43e632f83c
Merge pull request #244 from google/gbg/hci-source-termination-mode
...
add sink method for lost transports
2023-08-18 10:17:11 -07:00
Gilles Boccon-Gibod
623298b0e9
emit flush event when transport lost
2023-08-18 09:59:15 -07:00
Gilles Boccon-Gibod
85a61dc39d
add entry to the list of supported USB devices
2023-08-18 09:56:06 -07:00
Gilles Boccon-Gibod
6226bfd196
fix typo after refactor
2023-08-17 09:51:56 -07:00
Gilles Boccon-Gibod
640b9cd53a
refactor pyiodide support and add examples
2023-08-15 13:36:58 -07:00
Gilles Boccon-Gibod
f4add16aea
Merge pull request #241 from hchataing/hfp-hf
...
hfp: Implement initiate SLC procedure for HFP-HF
2023-08-14 10:32:55 -07:00
Gilles Boccon-Gibod
2bfec3c4ed
add sink method for lost transports
2023-08-12 10:54:20 -07:00
Henri Chataing
9963b51c04
hfp: Implement initiate SLC procedure for HFP-HF
2023-08-10 08:37:54 -07:00
Josh Wu
2af3494d8c
Handle SSP Complete events
2023-08-10 10:58:41 +08:00
Gilles Boccon-Gibod
fe28473ba8
Merge pull request #234 from zxzxwu/addr
...
Support address resolution offload
2023-08-08 21:30:13 -07:00
Josh Wu
6399c5fb04
Auto add device to resolving list after pairing
2023-08-03 20:51:00 +08:00
Josh Wu
784cf4f26a
Add a flag to enable LE address resolution
2023-08-03 20:50:57 +08:00
Josh Wu
0301b1a999
Pandora: Configure identity address type
2023-08-02 11:31:07 -07:00
Lucas Abel
3ab2cd5e71
pandora: decrease all info logs to debug
2023-08-02 10:56:41 -07:00
uael
6ea669531a
pandora: add tcp option to transport configuration
...
* Add a fallback to `tcp` when `transport` is not set.
* Default the `tcp` transport to the default rootcanal HCI address.
2023-08-01 08:51:12 -07:00
Josh Wu
cbbada4748
SMP: Delegate distributed address type
2023-08-01 08:38:03 -07:00
Gilles Boccon-Gibod
bdad225033
add support for field arrays in hci packet definitions
2023-07-30 22:19:10 -07:00
Gilles Boccon-Gibod
4ffc050eed
restore python < 11 compat
2023-07-27 16:37:27 -07:00
Gilles Boccon-Gibod
60678419a0
compatibility with python 11
2023-07-27 14:55:28 -07:00
Gilles Boccon-Gibod
648dcc9305
use type object instead of type strings
2023-07-27 13:19:37 -07:00
Josh Wu
190529184e
L2CAP: Import device.Connection for typing
2023-07-27 09:07:55 -07:00
Josh Wu
46eb81466d
Add more argement hints in L2CAP
2023-07-27 09:07:55 -07:00
Josh Wu
9c70c487b9
Add type hint to L2CAP module
2023-07-27 09:07:55 -07:00
Josh Wu
dbf878dc3f
SMP: Remove PairingMethod.__str__
2023-07-27 08:00:36 -07:00
Josh Wu
f6c0bd88d7
SMP: Do not send phase 2 commands in CTKD
2023-07-27 08:00:36 -07:00
Josh Wu
8440b7fbf1
SMP: Refactor pairing method as enum
2023-07-27 08:00:36 -07:00
Gilles Boccon-Gibod
808ab54135
Merge pull request #221 from google/gbg/core-classes
...
add new device class major/minor identifiers
2023-07-25 09:49:05 -07:00
Gilles Boccon-Gibod
52b29ad680
add new device class major/minor identifiers
2023-07-24 17:41:57 -07:00
Gilles Boccon-Gibod
b758825164
add flow control command
2023-07-22 13:04:39 -07:00