zxzxwu
6633228975
Add more HFP command suppport
...
* Support all Call Hold Operation
* Support CLI Presentation
* Support Voice Recognition
* Support RING and Volume Changes
* [AG] Support Enhanced Call Status
* Minor fixes
2024-04-24 15:29:48 +00:00
zxzxwu
51a94288e2
Type hint all examples
2024-04-15 12:48:21 +00:00
Josh Wu
deba181857
HFP AG implementation
2024-04-10 09:51:37 +00:00
Josh Wu
21d607898d
Fix format presubmit error
2024-04-09 01:44:04 +08:00
Gilles Boccon-Gibod
2698d4534e
Merge pull request #435 from jeru/main
...
open_tcp_server_transport: allow explicit sock as input.
2024-04-04 19:17:07 -07:00
zxzxwu
bbcd64286a
Merge pull request #463 from zxzxwu/hfp
...
Correct HFP AG indicator index
2024-04-04 12:53:19 +08:00
Josh Wu
dc1204531e
Correct HFP AG indicator index
2024-04-03 17:58:04 +08:00
Gilles Boccon-Gibod
962114379c
fix #461
2024-04-02 23:14:32 -07:00
Gilles Boccon-Gibod
58d4ab913a
update black formatter to version 24
2024-04-01 14:44:46 -07:00
zxzxwu
ec82242462
Merge pull request #440 from zxzxwu/hfp
...
Rework HFP example
2024-03-27 16:54:41 +08:00
zxzxwu
a4efdd3f3e
Merge pull request #442 from zxzxwu/unicast_ad
...
Implement Unicast Server Advertising Data
2024-03-27 16:54:06 +08:00
Charlie Boutier
a9c62c44b3
pandora host: change AdvertisingType
...
change advertising type from high duty to low duty
Test: python le_host_test.py -c config.yml --test_bed android.bumbles --tests "test_scan('connectable','non_scannable','directed',0)" -v
2024-03-20 11:17:50 -07:00
Charlie Boutier
7d0b4ef4e0
pandora_server: Parse FLAGS into advertising data
...
Bug: 328089785
2024-03-18 09:20:55 -07:00
Charlie Boutier
313340f1c6
intel driver: check the vendorId and productId
2024-03-15 10:53:33 -07:00
Charlie Boutier
e8ed69fb09
pyusb: Collect vendorId and productId as metadata
2024-03-15 10:53:33 -07:00
David Duarte
16d5cf6770
usb: Add usb path moniker
...
Add a new moniker for usb and pyusb driver allowing
to select the usb device using its bus id and port
path like `usb:3-3.4.1`.
2024-03-15 09:17:39 -07:00
Cheng Sheng
1ceeccbbc0
open_tcp_server_transport: allow explicit sock as input.
...
When a user doesn't need an exact port, but cares more about getting
SOME unused port, they can do:
* Create a socket outside with port=None or port=0.
* Use socket.getsockname()[1] to get the allocated port and pass to the
TCP client somehow.
* Use the created socket to create a TCP server transport.
Use-case: unit-testing embedded software that implements a BLE host. The
controller will be a Bumble controller, connected to the host via a TCP
channel.
* The host will have a TCP-client HCI transport for testing.
* The pytest setup code will allocate the TCP server and pass the port
number to the host.
Also add some unittests with python mock.
2024-03-13 19:34:05 +01:00
Gilles Boccon-Gibod
7507be1eab
update metadata when setting the host controller directly
2024-03-12 11:50:47 -07:00
Gilles Boccon-Gibod
cbe9446dcf
fix intel driver probe
2024-03-12 09:54:20 -07:00
Charlie Boutier
174930399a
intel: send vsc INTEL_DDC_CONFIG_WRITE
...
This VSC enable host-initiated role-switching after connection.
Implement this VSC in a driver fashion.
Test: avatar security_test with the Bluetooth Dongle Intel BE200
2024-03-11 09:15:18 -07:00
Josh Wu
35db4a4c93
Implement Unicast Server Advertising Data
2024-03-08 16:48:37 +08:00
Gilles Boccon-Gibod
1f3aee5566
Merge pull request #438 from BenjaminLawson/pandora-extended-advertising
...
Implement Pandora extended advertising
2024-03-07 20:36:56 -08:00
Ben Lawson
256044a789
Implement Pandora extended advertising
...
Support setting the PHY of Pandora scans.
2024-03-07 16:18:49 -08:00
Josh Wu
6205199d7f
Rework HFP example
2024-03-05 20:53:28 +08:00
Gilles Boccon-Gibod
f2d601f411
show timestamps from snoop logs
2024-02-27 16:40:37 -08:00
zxzxwu
02180088b3
Merge pull request #425 from zxzxwu/command
...
Refactor command supporting list
2024-02-07 21:45:52 +08:00
Josh Wu
0e6d69cd7b
Refactor command supporting list
2024-02-06 12:06:00 +08:00
Josh Wu
9eccc583d5
Fix double-disable legacy advertising set
...
When legacy advertising set is disabled passively(by set termination),
the legacy advertising set won't be released, and the next
stop_advertising() call will try to disable it again and cause an error.
2024-02-06 12:00:30 +08:00
Gilles Boccon-Gibod
a877283360
add rfcomm options and fix l2cap mtu negotiation
2024-02-05 08:56:59 -08:00
zxzxwu
1a3272d7ca
Merge pull request #412 from zxzxwu/vcp
...
Add Volume Control Service
2024-02-04 00:42:51 +08:00
zxzxwu
1ee1ff0b62
Merge pull request #420 from zxzxwu/rfc
...
Add RFCOMM and SDP context manager and search helper
2024-02-04 00:42:24 +08:00
Josh Wu
e308051885
Add LMP feature reader
2024-02-03 13:29:25 +08:00
Josh Wu
10e53553d7
Add RFCOMM and SDP helpers
2024-02-03 13:13:35 +08:00
Gilles Boccon-Gibod
ef0b30d059
Merge pull request #382 from google/gbg/extended-advertising-v2
...
extended advertising v2
2024-02-02 20:43:28 -08:00
zxzxwu
c6cfd101df
Merge pull request #415 from zxzxwu/hfp
...
HFP: State memory and event emission
2024-02-02 11:36:53 +08:00
Josh Wu
d2dcf063ee
HFP: State memory and event emit
2024-02-01 12:08:43 +08:00
Josh Wu
6a34c9f224
RFCOMM: Slightly refactor and correct constants
2024-02-01 01:18:56 +08:00
Josh Wu
3e8ce38eba
Add Volume Control Service
2024-01-31 10:04:30 +08:00
Gilles Boccon-Gibod
8d2f37aa7a
inclusive language
2024-01-28 19:09:39 -08:00
Gilles Boccon-Gibod
b7b70ebcbb
address PR comments
2024-01-28 19:09:37 -08:00
Gilles Boccon-Gibod
8ba91f4986
fix assert
2024-01-28 19:02:32 -08:00
Gilles Boccon-Gibod
79a5e953bc
comply with limits for certain advertising event types
2024-01-28 19:02:32 -08:00
Gilles Boccon-Gibod
20de5ea250
format
2024-01-28 19:02:32 -08:00
Gilles Boccon-Gibod
bad9ce272c
add doc
2024-01-28 19:02:32 -08:00
Gilles Boccon-Gibod
d3273ffa8c
format (+3 squashed commits)
...
Squashed commits:
[60e610f] wip
[eeab73d] wip
[3cdd5b8] basic first pass
2024-01-28 19:02:30 -08:00
zxzxwu
071fc2723a
Merge pull request #376 from zxzxwu/host
...
Manage lifecycle of CIS and SCO links in host
2024-01-28 22:09:08 +08:00
zxzxwu
ef4ea86f58
Merge pull request #381 from zxzxwu/offload
...
Support non-directed address generation offload
2024-01-28 22:08:32 +08:00
Gilles Boccon-Gibod
986343a807
support multiple type checkers for pandora
2024-01-28 01:21:50 -08:00
Gilles Boccon-Gibod
a167342778
deal with SupportsBytes for python <= 3.10
2024-01-28 01:04:13 -08:00
Gilles Boccon-Gibod
31ec1c41ce
cleanup
2024-01-28 00:07:31 -08:00