forked from moogle19/ble
-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Description
If I call the dial function with a context that times out, this timeout does not appear to be applied within the Dial function. The Dial function in hci.go relies on a dialerTmo struct field. Is there a proper way to time out a connect request?
If not, then I propose the timeout be pulled via the Context Deadline function. This should probably override the timeout specified by dialerTmo and then set it back upon exiting the function.
Thoughts? Perhaps I missed something elsewhere in the code. I'm happy to made the adjustments and file a PR.
Metadata
Metadata
Assignees
Labels
No labels