Merge pull request #502 from google/gbg/extended-advertising-termination-reverse

support out of order advertising set termination / connection events
This commit is contained in:
Gilles Boccon-Gibod
2024-06-18 16:42:06 -07:00
committed by GitHub
3 changed files with 68 additions and 9 deletions

View File

@@ -787,6 +787,10 @@ class Host(AbortableEventEmitter):
# Just use the same implementation as for the non-enhanced event for now
self.on_hci_le_connection_complete_event(event)
def on_hci_le_enhanced_connection_complete_v2_event(self, event):
# Just use the same implementation as for the v1 event for now
self.on_hci_le_enhanced_connection_complete_event(event)
def on_hci_connection_complete_event(self, event):
if event.status == hci.HCI_SUCCESS:
# Create/update the connection