C
void WF_SetMultiCastFilter( UINT8 multicastFilterId, UINT8 multicastAddress[6] );
Description
Multicast Functions
This function allows the application to configure up to two Multicast Address Filters on the MRF24WB0M. If two active multicast filters are set up they are OR’d together – the MRF24WB0M will receive and pass to the Host CPU received packets from either multicast address. The allowable values for the multicast filter are:
- WF_MULTICAST_FILTER_1
- WF_MULTICAST_FILTER_2
By default, both Multicast Filters are inactive.
Preconditions
MACInit must be called first.
Parameters
Parameters |
Description |
multicastFilterId |
WF_MULTICAST_FILTER_1 or WF_MULTICAST_FILTER_2 |
multicastAddress |
6-byte address (all 0xFF will inactivate the filter) |
Returns
None.
Remarks
Definition WF_USE_MULTICAST_FUNCTIONS needs to be enabled.