Gabriel White-Vega
511ab4b630
Add python async wrapper, move hci non-wrapper to internal, add hci::internal tests
2023-09-29 10:23:19 -04:00
Gabriel White-Vega
7e331c2944
Ability to send HCI commands from Rust
...
* Autogenerate packet code in Rust from PDL (packet file copied from rootcanal)
* Implement parsing of packets that have a type header
* Expose Python APIs for sending HCI commands
* Expose Python APIs for instantiating a local controller
2023-09-27 11:17:47 -04:00
Gilles Boccon-Gibod
c12dee4e76
Merge pull request #294 from mauricelam/wasm-cryptography
...
Make cryptography a valid dependency for emscripten targets
v0.0.171
2023-09-25 19:29:09 -07:00
Maurice Lam
772c188674
Fix typo
2023-09-25 18:08:52 -07:00
Maurice Lam
7c1a3bb8f9
Separate version specifier for cryptography in Emscripten builds
2023-09-22 16:43:40 -07:00
Maurice Lam
8c3c0b1e13
Make cryptography a valid dependency for emscripten targets
...
Since only the special cryptography package bundled with pyodide can be
used, relax the version requirement to anything that's version 39.*.
Fix #284
2023-09-22 16:43:40 -07:00
Gilles Boccon-Gibod
4c29a16271
Merge pull request #297 from google/gbg/websocket-full-url
...
ws-client: make implementation match the doc
2023-09-22 11:41:24 -07:00
Gilles Boccon-Gibod
762d3e92de
Merge pull request #300 from google/gbg/issue-299
...
use correct own_address_type when restarting advertising
2023-09-22 11:41:04 -07:00
uael
2f97531d78
pandora: use public identity address for public addresses
2023-09-22 20:08:34 +02:00
Gilles Boccon-Gibod
f6c7cae661
use correct own_address_type when restarting advertising
2023-09-22 10:33:36 -07:00
Gilles Boccon-Gibod
78a06ae8cf
make implementation match the doc
2023-09-21 19:01:40 -07:00
zxzxwu
d290df4aa9
Merge pull request #278 from zxzxwu/gatt2
...
Typing GATT
2023-09-21 16:09:36 +08:00
Josh Wu
e559744f32
Typing att
2023-09-21 15:52:07 +08:00
zxzxwu
67418e649a
Merge pull request #288 from zxzxwu/l2cap_states
...
L2CAP: Refactor states to enums
2023-09-21 15:42:21 +08:00
Gilles Boccon-Gibod
5adf9fab53
Merge pull request #275 from whitevegagabriel/file-header
...
Add license header check for rust files
2023-09-20 16:21:38 -07:00
Josh Wu
2491b686fa
Handle SMP_Security_Request
v0.0.170
2023-09-20 23:13:08 +02:00
Josh Wu
efd02b2f3e
Adopt reviews
2023-09-20 23:03:23 +02:00
Josh Wu
3b14078646
Overload signatures
2023-09-20 23:03:23 +02:00
Josh Wu
eb9d5632bc
Add utils_test type hint
2023-09-20 23:03:23 +02:00
Josh Wu
45f60edbb6
Pyee watcher context
2023-09-20 23:03:23 +02:00
David Duarte
393ea6a7bb
pandora_server: Load server config
...
Pandora server has it's own config that we load from the 'server'
property of the current bumble config file
2023-09-18 14:28:42 -07:00
Gabriel White-Vega
6ec6f1efe5
Add license header check for rust files
...
Added binary that can check for and add Apache 2.0 licenses.
Run this binary during the build-rust workflow.
2023-09-14 14:29:47 -04:00
Josh Wu
5d9598ea51
L2CAP: Refactor states to enums
2023-09-14 20:52:33 +08:00
Gilles Boccon-Gibod
0d36d99a73
Merge pull request #287 from google/revert-286-gbg/package-depencencies-for-wasm
...
Revert "make cryptography a valid dependency for emscripten targets"
v0.0.169
2023-09-13 23:37:42 -07:00
Gilles Boccon-Gibod
d8a9f5a724
Revert "make cryptography a valid dependency for emscripten targets"
2023-09-13 23:36:33 -07:00
Gilles Boccon-Gibod
2c66e1a042
Merge pull request #285 from google/gbg/fix-mypy-errors
...
mypy: ignore false positive errors
v0.0.168
2023-09-13 23:30:50 -07:00
Gilles Boccon-Gibod
d5eccdb00f
Merge pull request #286 from google/gbg/package-depencencies-for-wasm
...
make cryptography a valid dependency for emscripten targets
2023-09-13 23:30:28 -07:00
Gilles Boccon-Gibod
32626573a6
ignore false positive errors
2023-09-13 23:17:00 -07:00
Gilles Boccon-Gibod
caa82b8f7e
make cryptography a valid dependency for emscripten targets
2023-09-13 22:38:28 -07:00
Gilles Boccon-Gibod
5af347b499
Merge pull request #282 from google/gbg/multi-python-pre-commit-check
...
run pre-commit tests with all supported Python versions
2023-09-13 07:47:32 -07: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
Gilles Boccon-Gibod
2478d45673
more windows compat fixes
2023-09-12 14:52:42 -07:00
Gilles Boccon-Gibod
1bc7d94111
windows NamedTemporaryFile compatibility
2023-09-12 14:33:12 -07:00
Gilles Boccon-Gibod
6432414cd5
run tests on windows and mac in addition to linux
2023-09-12 13:50:15 -07:00
Gilles Boccon-Gibod
179064ba15
run pre-commit tests with all supported Python versions
2023-09-12 13:42:33 -07:00
William Escande
783b2d70a5
Add connection parameter update from peripheral
2023-09-12 11:08:04 -07:00
zxzxwu
80824f3fc1
Merge pull request #280 from zxzxwu/device_typing
...
Add terminated to TransportSource protocol
2023-09-12 20:46:35 +08:00
Josh Wu
f39f5f531c
Replace | typing usage with Optional and Union
2023-09-12 15:50:51 +08:00
Gilles Boccon-Gibod
56139c622f
Merge pull request #258 from mogenson/vsc_tx_power
...
Add support for Zephyr HCI VSC set TX power command
2023-09-11 21:34:11 -07:00
Michael Mogenson
da02f6a39b
Add HCI Zephyr vendor commands to read and write TX power
...
Create platforms/zephyr/hci.py with definitions of vendor HCI commands
to read and write TX power.
Add documentation for how to prepare an nRF52840 dongle with a Zephyr
HCI USB firmware application that includes dynamic TX power support and
how to send a write TX power vendor HCI command from Bumble.
2023-09-11 10:06:10 -04:00
Josh Wu
548d5597c0
Transport: Add termination protocol signature
2023-09-11 14:36:40 +08:00
zxzxwu
7fd65d2412
Merge pull request #279 from zxzxwu/typo
...
Fix typo
2023-09-11 03:02:11 +08:00
Josh Wu
05a54a4af9
Fix typo
2023-09-10 20:32:58 +08:00
Gilles Boccon-Gibod
1e00c8f456
Merge pull request #276 from google/gbg/add-zephyr-zip-to-docs
...
add zephyr binary to docs
2023-09-08 18:07:15 -07:00
Gilles Boccon-Gibod
90d165aa01
add zephyr binary
2023-09-08 14:17:15 -07:00
zxzxwu
01603ca9e4
Merge pull request #271 from zxzxwu/device_typing
...
Typing transport and relateds
v0.0.167
2023-09-09 00:55:59 +08:00
Gilles Boccon-Gibod
a1b6eb61f2
Merge pull request #269 from google/gbg/android_vendor_hci
...
add support for vendor HCI commands and events
2023-09-08 08:50:49 -07:00
zxzxwu
25f300d3ec
Merge pull request #270 from zxzxwu/typo
...
Fix typos
2023-09-08 17:32:33 +08:00
Josh Wu
41fe63df06
Fix typos
2023-09-08 16:30:06 +08:00
Josh Wu
b312170d5f
Typing transport
2023-09-08 15:27:01 +08:00