Gilles Boccon-Gibod
116dc9b319
add support for data type classes
2025-08-29 13:17:17 -07:00
Gilles Boccon-Gibod
7aba36302a
use isort when formatting
2025-08-21 16:38:58 -07:00
Gilles Boccon-Gibod
dcc72e49a2
forward legacy constants
2025-05-04 11:34:11 -07:00
Gilles Boccon-Gibod
088bcbed0b
resolve merge conflicts
2025-05-04 11:31:15 -07:00
Josh Wu
55801bc2ca
Make all event emitters async
...
* Also remove AbortableEventEmitter
2025-04-16 12:40:57 +08:00
Josh Wu
637224d5bc
Enum: PhysicalTransport, Role, AddressType
2025-03-09 23:34:01 +08:00
Josh Wu
f321143837
Improve AdvertisingData type annotations
...
* Add overloads to provide better return type hints
* Make advertising data type enum so they can be considered constants
2025-02-21 17:12:14 +08:00
Josh Wu
7324d322fe
BIG
2024-12-20 13:45:12 +08:00
Gilles Boccon-Gibod
9d3d5495ce
only use __bytes__ when not argument is needed.
2024-11-23 15:56:14 -08:00
Josh Wu
c88b32a406
Improve Broadcast Scanning
2024-11-16 02:02:28 +08:00
Gilles Boccon-Gibod
de7b99ce34
wip
2024-08-12 08:29:32 -07: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
dea907be86
attempt to fix pandora test (+3 squashed commits)
...
Squashed commits:
[759372d] address PR comments
[2f2a275] wip
[cc86b98] wip
wip
address PR comments
attempt to fix pandora test
2024-06-03 18:22:29 -07:00
Gilles Boccon-Gibod
aba1ac0cea
use a dict instead of a series of ifs (+6 squashed commits)
...
Squashed commits:
[90f2024] fix import order
[0edd321] add a few docstrings
[77a0ac0] wip
[adcf159] wip
[96cbd67] wip
[d8bfbab] wip (+1 squashed commit)
Squashed commits:
[43b4d66] wip (+2 squashed commits)
Squashed commits:
[3dafaa8] wip
[5844026] wip (+1 squashed commit)
Squashed commits:
[4cbb35a] wip (+1 squashed commit)
Squashed commits:
[4d2b6d3] wip (+4 squashed commits)
Squashed commits:
[f2da510] wip
[318c119] wip
[923b4eb] wip
[9d46365] wip
use a dict instead of a series of ifs (+6 squashed commits)
Squashed commits:
[90f2024] fix import order
[0edd321] add a few docstrings
[77a0ac0] wip
[adcf159] wip
[96cbd67] wip
[d8bfbab] wip
2024-01-27 16:26:17 -08:00
Josh Wu
b4ae8af3a7
Typing Advertisement
2024-01-19 15:16:24 +08:00
Gilles Boccon-Gibod
753b966148
format
2023-11-09 12:44:02 -08:00
Gilles Boccon-Gibod
4ae612090b
wip
2023-11-06 13:19:13 -08:00
zxzxwu
4ed5bb5a9e
Merge pull request #281 from zxzxwu/cleanup-transport
...
Replace | typing usage with Optional and Union
2023-09-13 13:31:41 +08:00
William Escande
783b2d70a5
Add connection parameter update from peripheral
2023-09-12 11:08:04 -07:00
Josh Wu
f39f5f531c
Replace | typing usage with Optional and Union
2023-09-12 15:50:51 +08:00
Josh Wu
41fe63df06
Fix typos
2023-09-08 16:30:06 +08:00
Josh Wu
9c70c487b9
Add type hint to L2CAP module
2023-07-27 09:07:55 -07:00
Gilles Boccon-Gibod
52b29ad680
add new device class major/minor identifiers
2023-07-24 17:41:57 -07:00
uael
fdee5ecf70
uuid: add separator to to_hex_str + type hints
2023-05-04 04:33:50 +00:00
uael
29bd693bab
device: fix advertising data UUID list parse loop
2023-05-04 04:32:38 +00:00
Rahul Arya
c97ba4319f
Fix UUID byte-order in serialization
2023-03-03 22:38:21 +00:00
uael
b731f6f556
overall: add types hints to the small subset used by avatar
2023-02-02 19:37:55 +00:00
Gilles Boccon-Gibod
99758e4b7d
add basic support for mypy type checking
2023-01-20 00:20:50 -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
Alan Rosenthal
f56ac14f2c
Add bumble-console --device-config support for gatt services
...
This PR adds support for bumble-console to be preloaded with gatt services via `--device-config`.
This PR also adds some type annotations
2022-11-28 14:11:27 -05:00
Abel Lucas
ce9472bf42
core: change AdvertisingData.get default raw behavior to False
2022-11-04 17:26:59 +00:00
Abel Lucas
fc331b7aea
core: improve Advertisement.ad_data_to_object with support for more data types
2022-11-04 17:26:59 +00:00
Gilles Boccon-Gibod
cf4c43c4ff
Merge pull request #48 from google/uael/classic-parallel-connect
...
classic: update `Device.connect` to allow parallels connection creation
2022-10-23 20:52:08 -07:00
Abel Lucas
16b4f18c92
tests: add parallel device connection test
2022-10-21 15:49:03 +00:00
Abel Lucas
4e2f66f709
device: raise a CommandTimeoutError error on command timeout
2022-10-20 22:11:07 +00:00
Abel Lucas
45dd849d9f
classic: update ConnectionError to take transport and peer address
2022-10-20 14:53:03 +00: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
Gilles Boccon-Gibod
6ac91f7dec
initial import
2022-05-16 19:42:31 -07:00