From 8119bc210cb9c87c9e506103bf30b14fae05b600 Mon Sep 17 00:00:00 2001 From: Abel Lucas Date: Mon, 31 Oct 2022 18:20:48 +0000 Subject: [PATCH] host: pass `remote_host_supported_features` event to upper layer The `HCI_Remote_Name_Request` command may trigger this HCI event. Instead of warn for not being handled, pass it to upper layer. --- bumble/host.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bumble/host.py b/bumble/host.py index 74b82c8..01c25a4 100644 --- a/bumble/host.py +++ b/bumble/host.py @@ -648,3 +648,6 @@ class Host(EventEmitter): self.emit('remote_name_failure', event.bd_addr, event.status) else: self.emit('remote_name', event.bd_addr, event.remote_name) + + def on_hci_remote_host_supported_features_notification_event(self, event): + self.emit('remote_host_supported_features', event.bd_addr, event.host_supported_features)