Another scenario as well is basically turning the module into a STA only and sending TCP/IP traffic while doing the scanning. The code locks up in the LWIP conn->op_completed
Thank you for your feedback,
1 of 1 people found this helpful
wwd_stats.flow_control is about "Number of times WWD Flow control is enabled". In your scenario, the Flow Control is meant to increase. But it's just following the standard.
You can refer to the two demos, apps.snip.scan & apps.wwd.scan, to find out how to manage scan procedure properly. Basically, I think you may need to setup your semaphores between 'wiced_wifi_is_sta_link_up()' and 'wiced_scan_result_callback_t()' to make them communicating with each other, to avoid conflicts.
BTW, I don't think sending traffic is available while doing the scanning, because it's not connected at all under STA-Only mode.
Please look into LwIP's docs and the docs related to TCP/IP control to confirm the availability of your act.
Sincere regards from C. L.
Thank you very much for the details, this is helpful.