This commit is contained in:
J. Nick Koston 2023-11-28 08:00:58 -06:00
parent ee365094c3
commit 3ab115563b
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -767,12 +767,14 @@ class APIClient:
def do_append(
msg: BluetoothDeviceConnectionResponse
| BluetoothGATTGetServicesResponse
| BluetoothGATTGetServicesDoneResponse
| BluetoothGATTErrorResponse,
) -> bool:
return type(msg) in append_types and msg.address == address
def do_stop(
msg: BluetoothDeviceConnectionResponse
| BluetoothGATTGetServicesResponse
| BluetoothGATTGetServicesDoneResponse
| BluetoothGATTErrorResponse,
) -> bool: