Skip to content

Commit

Permalink
Merge pull request #38 from Ernst79/patch-1
Browse files Browse the repository at this point in the history
Do not filter duplicates
  • Loading branch information
frawau authored Aug 14, 2021
2 parents 84ef42a + 1b50d08 commit f0b2081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aioblescan/aioblescan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)

Expand Down

0 comments on commit f0b2081

Please sign in to comment.