English
Language : 

ZAURA Datasheet, PDF (63/99 Pages) –
ZAURA RF Wireless Library
Programmer’s Reference Manual
51
ZAURA_RF_SetRxFilter
Description This function modifies the filter setting that the radio uses when decid-
ing to accept inbound frames. Only the bottom 2 bits of the Filter argu-
ment are processed to ensure that the new filter setting is always
between 0 and 3. After calling this function, the new filter setting is
programmed into the radio and the ZAURA_RF_Params structure is
updated with the new filter setting.
When using the ZAURA RF RDTFC protocol, the Filter parameter
should be set to either 1 or 3. In particular, the use of promiscuous
mode (Filter=0) is not supported because it will defeat the RDTFC
protocol. Nodes using a filter setting less than 3 will not be able to
receive broadcasts.
Syntax
void ZAURA_RF_SetRxFilter( UINT8 Filter );
Parameters Filter. The filter settings are:
0 = Any address (promiscuous).
1 = Node Address.
2 = Node Address + 0x00 reserved address.
3 = Node Address + 0x00 reserved address + 0xFF broadcast address
(ZAURA_RF_BC_ADDR).
Returns ZAURA_RF_SUCCESS, ZAURA_RF_INVALID_PARAM
See Also ZAURA_RF_GetRxFilter, ZAURA_RF_SetParams,
ZAURA_RF_PARAMS Structure
Example
ZAURA_RF_SetFilter( 3 );
RM006003-1011
ZAURA_RF_SetRxFilter