Skip to content

Unable to connect & restart scan #988

Closed Answered by h2zero
CydiaBoss asked this question in Q&A
Discussion options

You must be logged in to vote

You should not be calling connect or scan start from the scan result callback, this holds up the stack and is why you are getting those errors. Set a flag or use a queue of sorts to initiate the connection process in a another task, or in loop.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@h2zero
Comment options

Answer selected by CydiaBoss
@CydiaBoss
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants