Microchip® Advanced Software Framework

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

Synchronous function to disable Wi-Fi monitoring mode (Promiscuous mode).

Synchronous function to change the Wi-Fi monitoring channel(Promiscuous mode).

Expected to be called, if the enable monitoring mode is set, but if it was called without enabling no negative impact will reside.

Functions

NMI_API sint8 m2m_wifi_change_monitoring_channel (uint8 u8ChannelID)
 
NMI_API sint8 m2m_wifi_disable_monitoring_mode (void)
 

NMI_API sint8 m2m_wifi_change_monitoring_channel ( uint8  u8ChannelID)
Parameters
[in]u8ChannelIDNew monitoring channel
See Also
m2m_wifi_enable_monitoring_mode
Returns
The function returns M2M_SUCCESS for successful operations and a negative value otherwise.

References hif_send(), M2M_REQ_DATA_PKT, M2M_REQ_GRP_WIFI, M2M_WIFI_CH_1, M2M_WIFI_CH_14, M2M_WIFI_REQ_CHG_MONITORING_CHNL, and NULL.

NMI_API sint8 m2m_wifi_disable_monitoring_mode ( void  )
See Also
m2m_wifi_enable_monitoring_mode
Returns
The function returns M2M_SUCCESS for successful operations and a negative value otherwise.

References hif_send(), M2M_REQ_GRP_WIFI, M2M_WIFI_REQ_DISABLE_MONITORING, and NULL.

Referenced by os_m2m_wifi_disable_monitoring_mode().