From 1b50d08fc4b42d9ee824e902f2bb33eac4f68e51 Mon Sep 17 00:00:00 2001 From: Ernst Klamer Date: Fri, 13 Aug 2021 21:40:22 +0200 Subject: [PATCH] Do not filter duplicates --- aioblescan/aioblescan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aioblescan/aioblescan.py b/aioblescan/aioblescan.py index 8676a9c..22feb07 100644 --- a/aioblescan/aioblescan.py +++ b/aioblescan/aioblescan.py @@ -1805,7 +1805,7 @@ async def send_scan_request(self, isactivescan=False): command = HCI_Cmd_LE_Set_Extended_Scan_Params(scan_type=sparam) self._send_command_no_wait(command) - command = HCI_Cmd_LE_Set_Extended_Scan_Enable(True, 1) + command = HCI_Cmd_LE_Set_Extended_Scan_Enable(True, 0) return self._send_command_no_wait(command) else: sparam = int(isactivescan) @@ -1820,7 +1820,7 @@ async def stop_scan_request(self): await self._initialized.wait() if self._use_ext_scan(): - command = HCI_Cmd_LE_Set_Extended_Scan_Enable(False, 1) + command = HCI_Cmd_LE_Set_Extended_Scan_Enable(False, 0) else: command = HCI_Cmd_LE_Scan_Enable(False, False)