SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
To update the rule attributes of an existing filter, call the sl_WlanSet command with the following arguments:
Example:
memcpy(updateFilterBuff.Args.Value.Bssid[0], filterData, 6);
memcpy(updateFilterBuff.Args.Mask, MacMAsk, 6);
updateFilterBuff.FilterId = FilterId;
updateFilterBuff.BinaryOrAscii = 1;
retVal = sl_WlanSet(SL_WLAN_RX_FILTERS_ID, SL_WLAN_RX_FILTER_UPDATE_ARGS,
sizeof(SlWlanRxFilterUpdateArgsCommandBuff_t),
(unsigned char *) &updateFilterBuff);