I've found that it is not possible to make an asynchronous wifi scan _and_ a connect attempt in parallel. The reason is that the connect does a scan internally. So depending on the order of the call (scan before connect -> scan fails. connect before scan -> connect fails) one of both calls fails.
I need to do that asynchronously, because after a wakeup a scan usually takes 2.5 secs, a connect can take up to 10 secs. I wanted to save time by letting them run in parallel.
If the connect does a scan, is it possible to participate?Statistics: Posted by neilyoung — Sat Jan 07, 2017 8:08 am
]]>