From ce049865a43769a54e88d8d9d50adb6949a2ba77 Mon Sep 17 00:00:00 2001 From: Abel Lucas Date: Thu, 15 Dec 2022 20:44:29 +0000 Subject: [PATCH] device: always prefer R2 for remote name request --- bumble/device.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bumble/device.py b/bumble/device.py index 5c7bf5ad..a279bcf2 100644 --- a/bumble/device.py +++ b/bumble/device.py @@ -2237,8 +2237,7 @@ class Device(CompositeEventEmitter): result = await self.send_command( HCI_Remote_Name_Request_Command( bd_addr=peer_address, - # TODO investigate other options - page_scan_repetition_mode=HCI_Remote_Name_Request_Command.R0, + page_scan_repetition_mode=HCI_Remote_Name_Request_Command.R2, reserved=0, clock_offset=0, # TODO investigate non-0 values )