Jan-Marcel Dietrich
1130e1db8f
Fix code formatting
2024-12-02 09:01:18 +01:00
Jan-Marcel Dietrich
07f9997a49
Add maximum encryption key size to PairingDelegate
...
So far the maxmium encryption key size has been hardcoded to 16 bytes in
'send_pairing_request_command()' and 'send_pairing_response_comman()'. By
making this configurable via the PairingDelegate, one can test how devices
respond to smaller encryption key sizes. Default remains 16 bytes.
2024-11-28 14:15:51 +01:00
Gilles Boccon-Gibod
082d55af10
Merge pull request #599 from google/gbg/hfp-19
...
add super wide band constants
2024-11-25 07:47:40 -08:00
Gilles Boccon-Gibod
9d3d5495ce
only use __bytes__ when not argument is needed.
2024-11-23 15:56:14 -08:00
Gilles Boccon-Gibod
b3869f267c
add super wide band constants
2024-11-23 09:27:03 -08:00
Wojciech Pietraszewski
100bea6b41
Fix typos
...
Amends the typo in the `INACTIVE` field in `Audio Input Status` characteristic.
Amends the typo in the log message of `_set_gain_settings` method.
2024-11-21 18:29:44 +01:00
Wojciech Pietraszewski
63819bf9dd
Amend Opcode value in Audio Input Control Service
...
Corrects the Audio Input Control Point
Opcode value for `Set Gain Setting` field.
2024-11-21 16:40:49 +01:00
zxzxwu
e3fdab4175
Merge pull request #593 from zxzxwu/periodic
...
Support Periodic Advertising
2024-11-19 17:22:37 +08:00
Josh Wu
bbcd14dbf0
Support Periodic Advertising
2024-11-19 16:27:13 +08:00
zxzxwu
01dc0d574b
Merge pull request #590 from SergeantSerk/parse-scan-response-data
...
Correctly parse scan response from device config
2024-11-17 15:39:11 +08:00
Josh Wu
c88b32a406
Improve Broadcast Scanning
2024-11-16 02:02:28 +08:00
Josh Wu
430046944b
Replace HCI member import in device.py
2024-11-12 16:53:21 +08:00
zxzxwu
21d23320eb
Merge pull request #584 from zxzxwu/commands6.0
...
Add Core Spec 6.0 new commands support mapping
2024-11-12 04:17:24 +00:00
Serkan
d0990ee04d
Correctly parse scan response from device config
...
Parses scan response data correctly just like advertising data
2024-11-07 21:49:33 +03:00
Josh Wu
2d88e853e8
Add Core Spec 6.0 new commands support mapping
2024-11-07 14:36:54 +08:00
Gilles Boccon-Gibod
b2864dac2d
fix #580
2024-11-02 10:29:40 -07:00
Gilles Boccon-Gibod
b78f895143
Merge pull request #579 from jmdietrich-gcx/unsubscribe_characteristic_in_gatt_client
...
Remove characteristic in GATT Client unsubscribe() if it's the last subscriber
2024-10-31 04:07:02 -07:00
zxzxwu
c4e9726828
Merge pull request #581 from zxzxwu/context
...
[BAP] Add missing Unspecified context type
2024-10-31 11:04:25 +00:00
Josh Wu
19debaa52e
[BAP] Add missing Unspecified context type
2024-10-31 18:11:40 +08:00
Jan-Marcel Dietrich
73fe564321
Remove characteristic in GATT Client unsubscribe() if it's the last subscriber
...
GATT Client's subscribe() adds the characteristic itself as subscriber.
Therefore the characteristic has to be removed in unsubscribe(), if it's
the last subscriber. Otherwise the clean up does not work correctly and
the CCCD never is set back to 0 in the remote device.
2024-10-30 07:34:22 +01:00
Gilles Boccon-Gibod
a00abd65b3
fix some linter warnings
2024-10-28 12:30:37 -07:00
Gilles Boccon-Gibod
32642c5d7c
Merge pull request #576 from google/gbg/netsim-device-info
...
update to new netsim proto with DeviceInfo
2024-10-25 04:43:00 -07:00
Gilles Boccon-Gibod
ff8b0c375d
add support for netsim device info variant
2024-10-25 04:37:30 -07:00
Jan-Marcel Dietrich
5d2dac18c8
Add missing parameter 'flags' to ATT_Execute_Write_Request PDU
...
Bluetooth spec @ Vol 3, Part F - 3.4.6.3 Table 3.36 shows that the
ATT_EXECUTE_WRITE_REQ PDU contains the parameter 'Flags' with size 1
octet, which allows to cancel all prepared writes (0x00) or to
immediately write all pending prepared values (0x01).
2024-10-24 15:08:10 +02:00
zxzxwu
d03fc14cfd
Merge pull request #573 from ypomortsev/yegor
...
HFP: Fix reading multiple AT commands from a single data packet
2024-10-23 13:23:58 +08:00
Gilles Boccon-Gibod
ad7ce79bc4
use all caps for device kind
2024-10-22 16:30:46 -07:00
Gilles Boccon-Gibod
7584daa3f9
update to new netsim proto with DeviceInfo
2024-10-22 11:48:42 -07:00
Yegor Pomortsev
654030e789
Add tests for batched HFP commands/responses; reformat
2024-10-21 16:32:20 -07:00
Gilles Boccon-Gibod
1de7d2cd6f
Merge pull request #571 from google/gbg/a2dp-player
...
a2dp player
2024-10-19 07:40:43 -07:00
Gilles Boccon-Gibod
68db78c833
remove unnecessary import
2024-10-19 07:32:11 -07:00
Yegor Pomortsev
e1714c16cc
HFP: Fix reading multiple AT commands from a single data packet
...
The `data` received in `_read_at` may have multiple commands.
This fixes `execute_command` timing out when waiting for an `OK`
response when it is in the same data buffer, e.g. during SLC
initialization: b'\r\n+BRSF: 3904\r\n\r\nOK\r\n'
2024-10-18 13:21:24 -07:00
Gilles Boccon-Gibod
0a20f14ea9
address PR comments
2024-10-15 15:26:19 -07:00
William Escande
23f46b36b3
HAP: wait for pairing event ( #551 )
2024-10-10 11:34:44 -07:00
Gilles Boccon-Gibod
d064de35e0
wip
2024-10-09 21:34:03 -07:00
Gilles Boccon-Gibod
dab4d13303
wip
2024-10-09 21:34:03 -07:00
Gilles Boccon-Gibod
f5443a9826
Merge pull request #564 from initializedd/fix-typo-in-comment
...
Fix typo in comment
2024-10-08 21:56:06 -07:00
zxzxwu
e5666c0510
Merge pull request #565 from zxzxwu/controller
...
Add codecs info in controller info app
2024-10-01 15:35:32 +08:00
initializedd
9e663ad051
Clarify Bluetooth address comments
2024-09-30 18:39:02 +01:00
Josh Wu
347fe8b272
Add codecs info in controller info app
2024-09-30 00:24:06 +08:00
Gilles Boccon-Gibod
d56c4d0a11
Merge pull request #563 from initializedd/fix-whitespace
...
Fix whitespace
2024-09-27 18:31:59 -07:00
initializedd
35bef7d7b7
Fix whitespace
2024-09-27 20:49:30 +01:00
initializedd
d069708c79
Support netsim.ini tmpdir on linux
2024-09-27 19:25:49 +01:00
Slvr
bdba5c9d95
pyusb: check devices_in_use before removal ( #559 )
2024-09-24 13:40:58 -07:00
zxzxwu
ff659383f9
Merge pull request #556 from zxzxwu/default
...
Replace mutable default values
2024-09-21 16:18:13 +08:00
Josh Wu
f06a35713f
Replace unsafe default values
2024-09-18 21:09:08 +08:00
Slvr
737abdc481
aics: make it a secondary service ( #555 )
...
* aics: make it a secondary service
---------
Co-authored-by: zxzxwu <92432172+zxzxwu@users.noreply.github.com >
2024-09-17 16:06:47 -07:00
Josh Wu
dfdf37019c
Remove att.CommonErrorCode
2024-09-14 00:50:19 +08:00
zxzxwu
56ca19600b
Merge pull request #552 from zxzxwu/hci
...
Add some HCI commands and events
2024-09-13 13:46:19 +08:00
Slvr
cd9feeb455
Implement AICS ( #547 )
...
* aics: Implement AICS and tests
2024-09-12 08:51:20 -07:00
Josh Wu
f8e5b88be6
Add some HCI commands and events
2024-09-12 22:31:54 +08:00