Classes | Typedefs | Enumerations | Functions
tmr_filter.h File Reference

Mercury API - Tag Filter Interface. More...

#include "tmr_tag_data.h"
#include "tmr_gen2.h"
#include "tmr_iso180006b.h"
Include dependency graph for tmr_filter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TMR_TagFilter

Typedefs

typedef enum TMR_FilterType TMR_FilterType
typedef struct TMR_TagFilter TMR_TagFilter

Enumerations

enum  TMR_FilterType { TMR_FILTER_TYPE_TAG_DATA = 0, TMR_FILTER_TYPE_GEN2_SELECT = 1, TMR_FILTER_TYPE_ISO180006B_SELECT = 2 }

Functions

TMR_Status TMR_TF_init_gen2_select (TMR_TagFilter *filter, bool invert, TMR_GEN2_Bank bank, uint32_t bitPointer, uint16_t maskBitLength, uint8_t *mask)
TMR_Status TMR_TF_init_ISO180006B_select (TMR_TagFilter *filter, bool invert, TMR_ISO180006B_SelectOp op, uint8_t address, uint8_t mask, uint8_t wordData[8])
TMR_Status TMR_TF_init_tag (TMR_TagFilter *filter, TMR_TagData *tag)
bool TMR_TF_match (TMR_TagFilter *filter, TMR_TagData *tag)

Detailed Description

Mercury API - Tag Filter Interface.

Author:
Brian Fiegel
Date:
4/18/2009

Definition in file tmr_filter.h.


Typedef Documentation

Type of a TMR_TagFilter structure


Enumeration Type Documentation

Type of a TMR_TagFilter structure

Enumerator:
TMR_FILTER_TYPE_TAG_DATA 

Tag data filter - non-protocol-specific

TMR_FILTER_TYPE_GEN2_SELECT 

Gen2 Select filter

TMR_FILTER_TYPE_ISO180006B_SELECT 

ISO180006B Select filter

Definition at line 50 of file tmr_filter.h.


Function Documentation

TMR_Status TMR_TF_init_gen2_select ( TMR_TagFilter filter,
bool  invert,
TMR_GEN2_Bank  bank,
uint32_t  bitPointer,
uint16_t  maskBitLength,
uint8_t *  mask 
)

Initialize a TMR_Filter structure as a Gen2 select filter with the provided parameters.

Parameters:
filterPointer to the filter structure to initialize
invertWhether to invert the result of the select
bankThe memory bank on the tag to compare with the data
bitPointerThe bit address of the tag data to compare
maskBitLengthThe length of the data to compare
maskThe data to compare

Definition at line 967 of file tm_reader.c.

TMR_Status TMR_TF_init_ISO180006B_select ( TMR_TagFilter filter,
bool  invert,
TMR_ISO180006B_SelectOp  op,
uint8_t  address,
uint8_t  mask,
uint8_t  wordData[8] 
)

Initialize a TMR_Filter structure as tag data (EPC) filter with the provided tag (which is copied).

Parameters:
filterPointer to the filter structure to initialize
tagTMR_TagData to use as the filter value

Definition at line 946 of file tm_reader.c.

bool TMR_TF_match ( TMR_TagFilter filter,
TMR_TagData tag 
)

Test if a tag matches this filter. Only applies to selects based on the EPC.

Parameters:
filterThe filter to test with.
tagThe tag to test.
Returns:
true if the tag matches the filter.

Definition at line 1014 of file tm_reader.c.



thingmagic_rfid
Author(s): Brian Bingham
autogenerated on Thu May 16 2019 03:01:25