Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
m2m_wifi_handle_events

Synchronous M2M event handler function, responsible for handling interrupts received from the WILC firmware.

Application developers should call this function periodically in-order to receive the events that are to be handled by the callback functions implemented by the application.

Functions

NMI_API sint8 m2m_wifi_handle_events (void *arg)
 

NMI_API sint8 m2m_wifi_handle_events ( void arg)
Precondition
Prior to receiving wi-fi interrupts, the WILC driver should have been successfully initialized by calling the m2m_wifi_init function.
Warning
Failure to successfully complete this function indicates bus errors and hence a fatal error that will prevent the application from proceeding.
Returns
The function returns M2M_SUCCESS for successful interrupt handling and a negative value otherwise.

References hif_handle_isr().

Referenced by os_hif_task().