/* Event dispatcher. 
Dispatch any events received for a fixed amount of time to the application callback. This function will block the caller for the specified amount of time, and pass events to the callback. */
ADI_WIFI_RESULT adi_wifi_DispatchEvents(const uint32_t nTimeoutMilliSeconds)
/* Event dispatcher. 
Dispatch any events received for a fixed amount of time to the application callback. This function will block the caller for the specified amount of time, and pass events to the callback. */
ADI_WIFI_RESULT adi_wifi_DispatchEvents(const uint32_t nTimeoutMilliSeconds)
{
	adi_wifi_ClearEventPending();
    return adi_wifi_WaitForResponseWithTimeout(nTimeoutMilliSeconds, CMD_NONE);
}