Josh Wu
797cd216d4
SMP: Migrate all enums
2026-02-10 20:08:01 +08:00
Josh Wu
3f643de4c1
Ruff: Add and fix UP rules
2026-01-01 03:25:32 +08:00
Gilles Boccon-Gibod
7aba36302a
use isort when formatting
2025-08-21 16:38:58 -07:00
Josh Wu
0ab5b6c49a
Migrate all HCI_Event to dataclasses
2025-06-25 17:07:22 +08:00
Gilles Boccon-Gibod
39518c89f5
fix imports
2025-06-09 12:24:09 -04:00
Gilles Boccon-Gibod
d631156f6c
add passkey delegate
2025-06-09 12:20:06 -04:00
Josh Wu
8a0cd5d0d1
Replace deprecated typing aliases
2025-06-07 23:39:35 +08:00
Josh Wu
a57cf13e2e
Cleanup relative imports
2025-04-12 23:06:52 +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
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
7e407ccae1
address PR comments
2023-11-15 15:48:19 -08:00
Gilles Boccon-Gibod
14f5b912ad
use ad_data directly
2023-11-10 11:53:54 -08:00
Gilles Boccon-Gibod
753b966148
format
2023-11-09 12:44:02 -08:00
Gilles Boccon-Gibod
5a307c19b8
add oob data on command line
2023-11-07 20:38:35 -08:00
Gilles Boccon-Gibod
4ae612090b
wip
2023-11-06 13:19:13 -08:00
Josh Wu
cbbada4748
SMP: Delegate distributed address type
2023-08-01 08:38:03 -07:00
uael
30934969b8
ssp: simplify pairing and fix just-works
...
Even through the previous implementation was correct:
- Always call `delegate.confirm()` for `just-works` pairing, but with
`auto` parameter set to `True`.
- Trust the controller and do not double check the devices IO
capabilities.
2023-05-04 04:32:38 +00:00
uael
b5cc167e31
pairing: apply strict typing
2023-05-01 06:19:11 +00:00
Gilles Boccon-Gibod
4286b2ab59
address PR comments
2023-04-18 15:05:18 -07:00
Gilles Boccon-Gibod
3442358dea
refactor PairingDelegate
2023-04-18 15:04:53 -07:00