RFID API Documentation  1.0
Reference guide for RFID API
PRE_FILTER Struct Reference

This struct contains the filter criteria for Inventory. More...

Data Fields

MEMORY_BANK memoryBank
 Memory Bank on which the filter is to be applied MEMORY_BANK_RESERVED is not allowed for Inventory/Pre-Filters. More...
 
UINT8pTagPattern
 The bit pattern against which to compare for tag-filtering, as UINT8*. More...
 
UINT16 tagPatternBitCount
 Number of bits in pTagPattern to be taken for comparison. More...
 
UINT16 bitOffset
 Bit offset; The first (msb) bit location of the specified memory bank against which to compare the TagMask. More...
 
FILTER_ACTION filterAction
 
union {
   STATE_AWARE_ACTION_PARAMS   stateAwareParams
 Parameters for StateAware action if filterAction is FILTER_ACTION_STATE_AWARE. More...
 
   STATE_UNAWARE_ACTION   stateUnawareAction
 Parameters for StateAware action if filterAction is FILTER_ACTION_STATE_UNAWARE. More...
 
filterActionParams
 This field is ignored for FilterAction: FILTER_ACTION_DEFAULT. More...
 
TRUNCATE_ACTION truncateAction
 This field indicates whether only a truncated portion of the tag is to be backscattered by the tag or not. More...
 
LPVOID lpReserved [4-1]
 Reserved for future. More...
 

Detailed Description

This struct contains the filter criteria for Inventory.

Maps to one SELECT command of C1G2.

Field Documentation

◆ memoryBank

MEMORY_BANK PRE_FILTER::memoryBank

Memory Bank on which the filter is to be applied MEMORY_BANK_RESERVED is not allowed for Inventory/Pre-Filters.

◆ pTagPattern

UINT8* PRE_FILTER::pTagPattern

The bit pattern against which to compare for tag-filtering, as UINT8*.

The application should allocate an UINT8 array and assign to this field.

◆ tagPatternBitCount

UINT16 PRE_FILTER::tagPatternBitCount

Number of bits in pTagPattern to be taken for comparison.

◆ bitOffset

UINT16 PRE_FILTER::bitOffset

Bit offset; The first (msb) bit location of the specified memory bank against which to compare the TagMask.

◆ filterAction

FILTER_ACTION PRE_FILTER::filterAction

◆ stateAwareParams

STATE_AWARE_ACTION_PARAMS PRE_FILTER::stateAwareParams

Parameters for StateAware action if filterAction is FILTER_ACTION_STATE_AWARE.

◆ stateUnawareAction

STATE_UNAWARE_ACTION PRE_FILTER::stateUnawareAction

Parameters for StateAware action if filterAction is FILTER_ACTION_STATE_UNAWARE.

◆ filterActionParams

union { ... } PRE_FILTER::filterActionParams

This field is ignored for FilterAction: FILTER_ACTION_DEFAULT.

◆ truncateAction

TRUNCATE_ACTION PRE_FILTER::truncateAction

This field indicates whether only a truncated portion of the tag is to be backscattered by the tag or not.

The portion that gets backscattered includes the portion of the tag ID following the mask. This field has to be set only in the last pre-filter.

◆ lpReserved

LPVOID PRE_FILTER::lpReserved[4-1]

Reserved for future.

1 DWORD taken for truncateAction