Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] - hci.HCI_LE_Set_Extended_Scan_Parameters_Command with wrong scan_interval param #625

Closed
markusjellitsch opened this issue Jan 14, 2025 · 0 comments

Comments

@markusjellitsch
Copy link
Contributor

The HCI command hci.HCI_LE_Set_Extended_Scan_Parameters_Command used to set scanning parameters uses the wrong value for scan_interval

       await self.send_command(
                hci.HCI_LE_Set_Extended_Scan_Parameters_Command(
                    own_address_type=own_address_type,
                    scanning_filter_policy=scanning_filter_policy,
                    scanning_phys=scanning_phys_bits,
                    scan_types=[scan_type] * scanning_phy_count,
                    scan_intervals=[int(scan_window / 0.625)] * scanning_phy_count, # scan_interval must be used
                    scan_windows=[int(scan_window / 0.625)] * scanning_phy_count,
                ),
                check_result=True,
            )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant