ZPS_vAplAfEnableMcpsFilter
void ZPS_vAplAfEnableMcpsFilter(
bool bEnableFilter,
uint8 u8LinkCostThreshold);
Description
This function allows packet filtering based on ‘link cost’ to be enabled/disabled, as well as some basic configuration of the filtering. Packet filtering is disabled by default.
The default ‘link cost threshold’ is 5. This means that when packet filtering is enabled, received packets with a link cost of 5 or less are discarded by the stack and not queued for processing. The link cost threshold can be modified (from the default value of 5) using this function.
If required, this function can be called at any time after ZPS_eAplAfInit().
For more information on packet filtering and link costs, refer to Section 6.10.3, Filtering packets on LQI Value/Link cost.
Parent topic:ZPS_vAplAfEnableMcpsFilter
Parameters
psStartParms Pointer to structure containing the start parameter values for the End Device - see Section 8.2.3.7, ZPS_tsAftsStartParamsDistributed.
Parent topic:ZPS_eAplInitEndDeviceDistributed
Parent topic:ZPS_vAplAfEnableMcpsFilter
Returns
None.
Parent topic:ZPS_vExtendedStatusSetCallback
Parent topic:ZPS_vAplAfEnableMcpsFilter
Parent topic:initialization functions