Enum CAENRFIDLogicalSource.InventoryFlag
- java.lang.Object
-
- java.lang.Enum<CAENRFIDLogicalSource.InventoryFlag>
-
- com.caen.RFIDLibrary.CAENRFIDLogicalSource.InventoryFlag
-
- All Implemented Interfaces:
Serializable,Comparable<CAENRFIDLogicalSource.InventoryFlag>
- Enclosing class:
- CAENRFIDLogicalSource
public static enum CAENRFIDLogicalSource.InventoryFlag extends Enum<CAENRFIDLogicalSource.InventoryFlag>
Flag values used in the inventory methods that comes with Flag parameter.This flags can be set to enable inventory features. Depending on the reader, some flags cannot be implemented. Please contact the CAEN RFID technical support , or email at support(at)caenrfid.com for further information.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPACTEnable compact mode.CONTINUOUSEnable the continuous mode.EVENT_TRIGGEREnable the inventory on trigger button (if present).FRAMEDFramed returning mode.FREQUENCYEnable the backscatter frequency.KEEP_ALIVEEnable KEEP ALIVE.PCEnables the PC reading.PHASEEnable the backscattering phases (begin and end).RSSIShow the RSSI.SUB_COMMANDEnable the subcommand execution.TAG_FOCUSEnable the Tag FOCUSING (if present).TID_READINGEnable the TID reading.XPCEnabled the XPC reading.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetValue()Gets the value of the flag, to use in Flag parameter.static CAENRFIDLogicalSource.InventoryFlagvalueOf(String name)Returns the enum constant of this type with the specified name.static CAENRFIDLogicalSource.InventoryFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RSSI
public static final CAENRFIDLogicalSource.InventoryFlag RSSI
Show the RSSI.For each identified tag the reader measures the RSSI. It's expressed in cents of dBm.
-
FRAMED
public static final CAENRFIDLogicalSource.InventoryFlag FRAMED
Framed returning mode.It enables the framing of each identified tag. As soon as a tag is identified it is sent to the host, without waiting for the end of the current inventory cycle. NOTE: It must be used in together with
CONTINUOUSflag and only in theCAENRFIDLogicalSource.EventInventoryTag(byte[], short, short, long)method and its overrides.
-
CONTINUOUS
public static final CAENRFIDLogicalSource.InventoryFlag CONTINUOUS
Enable the continuous mode.This flag enable the continuous mode. The user application should implement the
CAENRFIDEventListenerinterface and add it to the instance of the reader. Tag found will be reported in theCAENRFIDEventargument, along with the instance of the logical source that generated the event. NOTE: It must be used in together withFRAMEDflag and only in theCAENRFIDLogicalSource.EventInventoryTag(byte[], short, short, long)method and its overrides.
-
COMPACT
public static final CAENRFIDLogicalSource.InventoryFlag COMPACT
Enable compact mode.For each tag found the reader will sent relative info starting from ID and avoiding report the Source, antenna, type and timestamp, minimizing the throughput and maximizing the tag acquisition rate.
-
TID_READING
public static final CAENRFIDLogicalSource.InventoryFlag TID_READING
Enable the TID reading.For each tag found the reader try to read a portion of TID whose length can be defined using the
CAENRFIDLogicalSource.SetTIDLength(int)method. NOTE:Depending on various factors, the reader might not be able to read the required length of data from TID memory bank.
-
EVENT_TRIGGER
public static final CAENRFIDLogicalSource.InventoryFlag EVENT_TRIGGER
Enable the inventory on trigger button (if present).Some reader like handheld are provided with an hardware button designed for reading. To enable the inventory on press, set this flag. NOTE:This flag must be set only in continuous mode. See the
FRAMEDandCONTINUOUSflags for further info.
-
XPC
public static final CAENRFIDLogicalSource.InventoryFlag XPC
Enabled the XPC reading.The reader try to read the XPC (Extended Protocol Control word) from area of the tag.
-
PC
public static final CAENRFIDLogicalSource.InventoryFlag PC
Enables the PC reading.The reader try to read the Protocol Control word. CAEN RFID readers, in fact, returns only the ID part of the EPC, excluding the PC.
-
KEEP_ALIVE
public static final CAENRFIDLogicalSource.InventoryFlag KEEP_ALIVE
Enable KEEP ALIVE.This flag enable the KEEP ALIVE feature. The reader sent automatically, at fixed time interval, a fake tag with the type property set to
CAENRFIDProtocol.CAENRFID_KEEP_ALIVE. NOTE:This flag must be set only in continuous mode. See theFRAMEDandCONTINUOUSflags for further info.
-
PHASE
public static final CAENRFIDLogicalSource.InventoryFlag PHASE
Enable the backscattering phases (begin and end).The reader reports the begin and end phases of the backscattered signaldetected during the inventory cycle for each tag found. It's measured in degrees.
-
FREQUENCY
public static final CAENRFIDLogicalSource.InventoryFlag FREQUENCY
Enable the backscatter frequency.The reader reports the backscatter frequency at the time of the identification of the tag, for each tag found in the inventory cycle. It's measured in Khz.
-
SUB_COMMAND
public static final CAENRFIDLogicalSource.InventoryFlag SUB_COMMAND
Enable the subcommand execution.This flag enables the subcommand execution.Anyway, the subcommand execution flag is set also when an inventory method with subcommand parameter is called, and when subcommand value is different from none.
-
TAG_FOCUS
public static final CAENRFIDLogicalSource.InventoryFlag TAG_FOCUS
Enable the Tag FOCUSING (if present).Set this flag to enable the tag focus feature (if present). NOTE: It must be used only when the SESSION of the logical source is different from S0. See
CAENRFIDLogicalSource.SetSession_EPC_C1G2(com.caen.RFIDLibrary.CAENRFIDLogicalSourceConstants)method to set the proper session value.
-
-
Method Detail
-
values
public static CAENRFIDLogicalSource.InventoryFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CAENRFIDLogicalSource.InventoryFlag c : CAENRFIDLogicalSource.InventoryFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CAENRFIDLogicalSource.InventoryFlag valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public long getValue()
Gets the value of the flag, to use in Flag parameter.- Returns:
- An int represent the flag value.
-
-