Merge pull request #583 from google/gbg/more-gatt-tests

regression test for GATT unsubscription
This commit is contained in:
Gilles Boccon-Gibod
2024-11-04 13:03:57 -08:00
committed by Gilles Boccon-Gibod
13 changed files with 968 additions and 47 deletions

View File

@@ -552,7 +552,7 @@ class Host(AbortableEventEmitter):
return response
except Exception as error:
logger.warning(
logger.exception(
f'{color("!!! Exception while sending command:", "red")} {error}'
)
raise error
@@ -1248,3 +1248,6 @@ class Host(AbortableEventEmitter):
event.connection_handle,
int.from_bytes(event.le_features, 'little'),
)
def on_hci_vendor_event(self, event):
self.emit('vendor_event', event)