Part Number: CC3220
We're running our application under FreeRTOS on a CC3220SF. Because we can't use trigger mode in FreeRTOS, and because we need to minimize the idle current, we're using an infinite timeout period when calling sl_Select(). That is, we set the timeout parameter to NULL.
However, I discovered that if the WiFi network is disconnected (that is, if a disconnect event occurs), sl_Select() remains blocked instead of returning. What would be the best way to handle such situations? Is there some way we can make sl_Select() return when a disconnect occurs?