SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The SimpleLink Wi-Fi device lets users mask some of the asynchronous events. Masked events do not arrive to the host driver. This setting should apply for each API silo separately and include only the events needed to be masked. By default, none of the events are masked. This configuration is persistent according to the system-persistent configuration.
Example:
_i16 Status;
/* Mask WLAN connect and disconnect events */
Status = sl_DeviceEventMaskSet(SL_DEVICE_EVENT_CLASS_WLAN, (SL_DEVICE_EVENT_BIT(SL_WLAN_EVENT_CONNECT) | SL_DEVICE_EVENT_BIT(SL_WLAN_EVENT_DISCONNECT) ) );
if( Status )
{
/* error */
}