Skip to content

gatt: Prevent Connect from hanging#120

Open
mark-kubacki wants to merge 1 commit intogo-ble:masterfrom
mark-kubacki:fix-hung-connect-dial
Open

gatt: Prevent Connect from hanging#120
mark-kubacki wants to merge 1 commit intogo-ble:masterfrom
mark-kubacki:fix-hung-connect-dial

Conversation

@mark-kubacki
Copy link

Also checks the parent context, especially whether it was originally cancelled. Without Connect would block on Dial.

ctx2 in Connect is done once AdvFilter in Scan has selected something. However, meanwhile the parent context could have been then one that got cancelled, for example because the entire program is done.

Also checks the parent context, especially whether it was originally
cancelled. Without Connect would block on Dial.

ctx2 in Connect is done once AdvFilter in Scan has selected something.
However, meanwhile the parent context could have been then one
that got cancelled, for example because the entire program is done.
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.

1 participant