Our app has an autoconnect capability such that if a prior saved Wi-Fi network matches a previously-saved favorite network during scan result processing, the network manager automatically attempts to connect to the network.
As implemented today, this could occur while in the middle of iterating through scan results.
By and large, it appears to work; however, is this valid and allowed API behavior for the 43662 or WICED WWD?
There is no particular reason why this shouldnt work. The WICED code does not have any dependency between the scanand join commands however the WLAN may not give you the same scan results or it may simply wait internally until the scanis finished.As a disclaimer: This behaviour is not currently explicitly tested.