Skip to content

fix: find_device_by_name uses timeout_s arg (closes #76)#79

Merged
JPHutchins merged 1 commit intomainfrom
fix/#76/ble-connection-timeout
Oct 12, 2025
Merged

fix: find_device_by_name uses timeout_s arg (closes #76)#79
JPHutchins merged 1 commit intomainfrom
fix/#76/ble-connection-timeout

Conversation

@JPHutchins
Copy link
Collaborator

No description provided.

@JPHutchins JPHutchins requested a review from Copilot October 12, 2025 19:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug where the find_device_by_name method was not using the provided timeout parameter, ensuring consistent timeout behavior for both address-based and name-based device discovery.

  • Added the missing timeout parameter to BleakScanner.find_device_by_name call

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@JPHutchins JPHutchins force-pushed the fix/#76/ble-connection-timeout branch from 3755e75 to ad53205 Compare October 12, 2025 19:33
@JPHutchins JPHutchins merged commit 9089081 into main Oct 12, 2025
25 checks passed
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

Successfully merging this pull request may close these issues.

Timeout is not used when search by name is used and when connect is being performed

9 participants