skarnataki
3ab64ce00d
Fixed lint and pre-commit errors.
2023-10-19 17:19:49 -07:00
skarnataki
651e44e0b6
Submitting review comment fix: header function and extra lines.
...
Executed formatter on file.
2023-10-19 17:19:49 -07:00
skarnataki
963fa41a49
Submitting review comment fix: header function and extra lines.
2023-10-19 17:19:49 -07:00
skarnataki
493f4f8b95
Submitting review comment fix: header function and spacing
2023-10-19 17:19:49 -07:00
skarnataki
fc1bf36ace
Review changes comment fix. Classes/Subclass/dataclass. Enum constants.
...
Naming conventions
2023-10-19 17:19:49 -07:00
skarnataki
5ddee17411
Commit to fix review comments for dataclass and subclass, shifting contants to Message Class
...
Commit for enum and dataclass
2023-10-19 17:19:49 -07:00
skarnataki
5ce353bcde
Review comment Fix
2023-10-19 17:19:49 -07:00
SneKarnataki
16d33199eb
Change in sdp.py file while testing hid profile,
...
TEXT_STRING: lambda x: DataElement(DataElement.TEXT_STRING, x.decode('utf8')) changed to
TEXT_STRING: lambda x: DataElement(DataElement.TEXT_STRING, x)
as we were facing error "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa1 in position 4: invalid start byte" while fetching sdp records.
2023-10-19 17:19:49 -07:00
SneKarnataki
e02303a448
Submitting the initial version of HID Profile files
...
Includes:
1. HID Host implementation - hid.py
2. HID application to test Host with 3rd party HID Device application - run_hid_host.py
3. HID supporting files for testing - hid_report_parser.py & hid_key_map.py
Commands to run the application:
Default application:
python run_hid_host.py classic1.json usb:0 <device bd-addr>
Menu options for testing (Get/Set):
python run_hid_host.py classic1.json usb:0 <device bd-addr> test-mode
CuttleFish:tcp-client:127.0.0.1:7300
Application used for testing as Device : Bluetooth Keyboard & Mouse-5.3.0.apk
Note: Change in sdp.py file while testing hid profile,
TEXT_STRING: lambda x: DataElement(DataElement.TEXT_STRING, x.decode('utf8')) changed to
TEXT_STRING: lambda x: DataElement(DataElement.TEXT_STRING, x)
as we were facing error "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa1 in position 4: invalid start byte" while fetching sdp records.
2023-10-19 17:19:49 -07:00
skarnataki
644f74400d
Trial to commit in dhavan repo
2023-10-19 17:19:49 -07:00
dhavan
b7cd451ddb
Hid profile implemenation. Empty file
2023-10-19 17:19:49 -07:00
zxzxwu
907f2acc7e
Merge pull request #318 from zxzxwu/l2cap_refactor
...
Cleanup legacy L2CAP API usage
2023-10-17 14:22:45 +08:00
Gilles Boccon-Gibod
5b173cb879
add constant for 5.4
2023-10-11 17:47:21 -07:00
Josh Wu
5a85765360
Cleanup legacy L2CAP API
2023-10-11 14:33:44 +08:00
Gilles Boccon-Gibod
b9476be9ad
Merge pull request #315 from google/gbg/company-ids
...
update to latest list of company ids
2023-10-10 22:13:16 -07:00
zxzxwu
c2bf6b5f13
Merge pull request #289 from zxzxwu/l2cap_refactor
...
Refactor L2CAP API
2023-10-09 23:27:25 +08:00
Gilles Boccon-Gibod
d8e699b588
use the new yaml file instead of the previous CSV file
2023-10-07 23:10:49 -07:00
Josh Wu
c8b2804446
Pandora: Handle exception in WaitSecurity()
2023-10-07 21:17:01 +08:00
Josh Wu
e732f2589f
Refactor L2CAP API
2023-10-07 20:01:15 +08:00
Josh Wu
e03d90ca57
Add typing for MediaCodecCapabilities members
2023-10-07 19:32:19 +08:00
Josh Wu
495ce62d9c
Typing AVDTP
2023-10-07 19:32:19 +08:00
Gilles Boccon-Gibod
80db9e2e2f
Merge pull request #303 from whitevegagabriel/hci-command-rs
...
Ability to send HCI commands from Rust
2023-10-02 12:12:05 -07:00
Gilles Boccon-Gibod
9bcdf860f4
don't delete advertising prefs on disconnection
2023-09-30 17:41:18 -07:00
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
Gilles Boccon-Gibod
c0c6f3329d
minor cleanup
2023-09-27 21:53:54 -07:00
Gilles Boccon-Gibod
406a932467
make grpc channels injectable
2023-09-27 21:37:36 -07:00
Sparkling Diva
c6cdca8923
device: return the psm value from register_l2cap
2023-09-27 16:41:38 -07: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
1ad84ad51c
fix linter errors
2023-09-22 15:08:10 -07:00
Gilles Boccon-Gibod
64937c3f77
support netsim instance numbers
2023-09-22 14:22:04 -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
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
Josh Wu
2491b686fa
Handle SMP_Security_Request
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
45f60edbb6
Pyee watcher context
2023-09-20 23:03:23 +02:00
Josh Wu
5d9598ea51
L2CAP: Refactor states to enums
2023-09-14 20:52:33 +08:00
Gilles Boccon-Gibod
32626573a6
ignore false positive errors
2023-09-13 23:17:00 -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
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
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
01603ca9e4
Merge pull request #271 from zxzxwu/device_typing
...
Typing transport and relateds
2023-09-09 00:55:59 +08:00