Package com.zebra.rfid.api3
Class TagStorageSettings
- java.lang.Object
-
- com.zebra.rfid.api3.TagStorageSettings
-
public class TagStorageSettings extends java.lang.ObjectTo configure tag storage related settings such as Maximum tag count, maximum size of memory bank and Maximum tag ID length
-
-
Constructor Summary
Constructors Constructor Description TagStorageSettings()ConstructorTagStorageSettings(int maxTagCount, int maxSizeMemoryBank, int maxTagIDByteCount)Constructor takes maximum tag count, maximum size of bank and maximum tag ID Length as parameterTagStorageSettings(int maxTagCount, int maxMemoryBankByteCount, int maxTagIDByteCount, TAG_FIELD tagFields, boolean enableAccessReports)Constructor takes maximum tag count, maximum size of bank, maximum tag ID Length and Tag fields as parameter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddiscardTagsOnInventoryStop(boolean m_bDiscardTagsOnInventoryStop)Option to discard the tags which are reported by the reader when inventory/access-sequence operation has been stopped by a call to Actions.Inventory.Stop or Actions.TagAccess.OperationSequence.StopSequence.voidenableAccessReports(boolean enableAccessReports)Indicates whether Dll should enable reporting of TAG_DATA for access operations like Write, Lock, Kill, etc.intgetMaxMemoryBankByteCount()Gets the maximum size of memory bank.intgetMaxTagCount()Gets the maximum tag count.intgetMaxTagIDLength()Gets the maximum Tag ID length.TAG_FIELD[]getTagFields()Selects the content of TagData which inturn specifies whether certain fields are required to be processed by the Reader/Dll.booleanisAccessReportsEnabled()Indicates whether Dll should enable reporting of TAG_DATA for access operations like Write, Lock, Kill, etc.booleanisTagsOnInventoryStopDiscarded()Option to discard the tags which are reported by the reader when inventory/access-sequence operation has been stopped by a call to Actions.Inventory.Stop or Actions.TagAccess.OperationSequence.StopSequence.voidsetMaxMemoryBankByteCount(int maxMemoryBankByteCount)Sets the maximum size of memory bank.voidsetMaxTagCount(int maxTagCount)Sets the maximum tag count.voidsetMaxTagIDLength(int maxTagIDByteCount)Sets the maximum Tag ID length.voidsetTagFields(TAG_FIELD tagField)Selects the content of TagData which inturn specifies whether certain fields are required to be processed by the Reader/Dll.voidsetTagFields(TAG_FIELD[] arrTagFields)
-
-
-
Constructor Detail
-
TagStorageSettings
public TagStorageSettings()
Constructor
-
TagStorageSettings
public TagStorageSettings(int maxTagCount, int maxSizeMemoryBank, int maxTagIDByteCount)Constructor takes maximum tag count, maximum size of bank and maximum tag ID Length as parameter- Parameters:
maxTagCount- Maximum number of tags to be queued in the Dll. The default value is 4096.maxSizeMemoryBank- Maximum size of Memory Bank in Bytes(Should be WORD aligned, i.e. double bytes). The default value is 64 bytes.maxTagIDByteCount- Maximum size of EPC Data in Bytes(Should be WORD aligned, i.e. double bytes). The default value is 64 bytes.
-
TagStorageSettings
public TagStorageSettings(int maxTagCount, int maxMemoryBankByteCount, int maxTagIDByteCount, TAG_FIELD tagFields, boolean enableAccessReports)Constructor takes maximum tag count, maximum size of bank, maximum tag ID Length and Tag fields as parameter- Parameters:
maxTagCount- Maximum number of tags to be queued in the Dll. The default value is 4096.maxMemoryBankByteCount- Maximum size of Memory Bank in Bytes(Should be WORD aligned, i.e. double bytes). The default value is 64 bytes.maxTagIDByteCount- Maximum size of EPC Data in Bytes(Should be WORD aligned, i.e. double bytes). The default value is 64 bytes.tagFields- Selects the content of TagData which in turn specifies whether certain fields are required to be processed by the Reader/Dll. By default, all fields are enabled.enableAccessReports- Indicates whether Dll should enable reporting of TAG_DATA for access operations like Write, Lock, Kill, etc. By default, this will be false, which implies reports will be enabled only for Inventory, Read and Block-permalock Access operations.
-
-
Method Detail
-
getMaxTagCount
public int getMaxTagCount()
Gets the maximum tag count. Value contains the maximum number of tags to be queued in the library. The default value is 4096.
-
setMaxTagCount
public void setMaxTagCount(int maxTagCount)
Sets the maximum tag count. Value contains the maximum number of tags to be queued in the library. The default value is 4096.
-
getMaxMemoryBankByteCount
public int getMaxMemoryBankByteCount()
Gets the maximum size of memory bank. Value contains the Maximum Size of Memory Bank in Bytes to be allocated during allocate tag (Should be WORD aligned, i.e. double bytes). The default is 64 bytes.
-
setMaxMemoryBankByteCount
public void setMaxMemoryBankByteCount(int maxMemoryBankByteCount)
Sets the maximum size of memory bank. Value contains the Maximum Size of Memory Bank in Bytes to be allocated during allocate tag (Should be WORD aligned, i.e. double bytes). The default is 64 bytes.
-
getMaxTagIDLength
public int getMaxTagIDLength()
Gets the maximum Tag ID length. This value contains the Maximum size of EPC Data in Bytes to be allocated during allocate tag (Should be WORD aligned, i.e. double bytes). The default is 64 bytes.
-
setMaxTagIDLength
public void setMaxTagIDLength(int maxTagIDByteCount)
Sets the maximum Tag ID length. This value contains the Maximum size of EPC Data in Bytes to be allocated during allocate tag (Should be WORD aligned, i.e. double bytes). The default is 64 bytes.
-
getTagFields
public TAG_FIELD[] getTagFields()
Selects the content of TagData which inturn specifies whether certain fields are required to be processed by the Reader/Dll. Absence of certain fields can improve performance of the Reader/Dll or result in specific behavior. For e.g. disabling Antenna Id can result in application receiving as single unique tag even though there were multiple entries of the same tag reported from different Antennas By default all fields are enabled.
-
setTagFields
public void setTagFields(TAG_FIELD[] arrTagFields)
-
setTagFields
public void setTagFields(TAG_FIELD tagField)
Selects the content of TagData which inturn specifies whether certain fields are required to be processed by the Reader/Dll. Absence of certain fields can improve performance of the Reader/Dll or result in specific behavior. For e.g. disabling Antenna Id can result in application receiving as single unique tag even though there were multiple entries of the same tag reported from different Antennas By default all fields are enabled.
-
isAccessReportsEnabled
public boolean isAccessReportsEnabled()
Indicates whether Dll should enable reporting of TAG_DATA for access operations like Write, Lock, Kill, etc. By default, this will be false, which implies reports will be enabled only for Inventory, Read and Block-permalock Access operations.
-
enableAccessReports
public void enableAccessReports(boolean enableAccessReports)
Indicates whether Dll should enable reporting of TAG_DATA for access operations like Write, Lock, Kill, etc. By default, this will be false, which implies reports will be enabled only for Inventory, Read and Block-permalock Access operations.
-
isTagsOnInventoryStopDiscarded
public boolean isTagsOnInventoryStopDiscarded()
Option to discard the tags which are reported by the reader when inventory/access-sequence operation has been stopped by a call to Actions.Inventory.Stop or Actions.TagAccess.OperationSequence.StopSequence. Choosing this option will not purge the tags which are already queued by the Dll. This option will be ignored if tagReportTrigger of TriggerInfo is not equal to 1.
-
discardTagsOnInventoryStop
public void discardTagsOnInventoryStop(boolean m_bDiscardTagsOnInventoryStop)
Option to discard the tags which are reported by the reader when inventory/access-sequence operation has been stopped by a call to Actions.Inventory.Stop or Actions.TagAccess.OperationSequence.StopSequence. Choosing this option will not purge the tags which are already queued by the Dll. This option will be ignored if tagReportTrigger of TriggerInfo is not equal to 1.
-
-