com.caen.RFIDLibrary
Class CAENRFIDReader

java.lang.Object
  extended by com.caen.RFIDLibrary.CAENRFIDReader

public final class CAENRFIDReader
extends java.lang.Object

This class defines the CAEN RFID Reader.


Nested Class Summary
protected static class CAENRFIDReader.AbortContinuosListener
           
 
Field Summary
protected static int CONFIG_DWELL_TIME
           
protected static int CONFIG_G2_Q_VALUE
           
protected static int CONFIG_G2_SELECTED
           
protected static int CONFIG_G2_SESSION
           
protected static int CONFIG_G2_TARGET
           
protected static int CONFIG_INV_COUNT
           
protected static int CONFIG_ISO18006B_DESB
           
protected static int CONFIG_LOSTTHRESHOLD
           
protected static int CONFIG_OBSERVEDTHRESHOLD
           
protected static int CONFIG_QUIET_TIME
           
protected static int CONFIG_READCYCLE
           
protected static int CONFIG_TID_LENGTH
           
protected  javax.swing.event.EventListenerList listenerList
           
protected  boolean Loop
           
protected  java.lang.Object LoopMutex
           
protected static int MAX_ID_LENGTH
           
static java.lang.String Version
          Get the version of this library
 
Constructor Summary
CAENRFIDReader()
          Create a new CAEN RFID Reader object.
 
Method Summary
 void _SetRFOnOff(short OnOff)
          Deprecated. For debugging purpose only.
 void addCAENRFIDEventListener(CAENRFIDEventListener listener)
          Adds the specified CAENRFIDEvent listener to receive CAENRFIDEvent events from this CAENRIFDReader
protected  void AddNotifyTrigger(java.lang.String Channel, java.lang.String Trigger)
           
protected  void AddReadPoint(java.lang.String Source, java.lang.String Antenna)
           
protected  void AddReadTrigger(java.lang.String Source, java.lang.String Trigger)
           
protected  void AddSourceToChannel(java.lang.String Channel, java.lang.String Source)
           
protected  byte[] Authenticate_EPC_C1G2(java.lang.String Source, CAENRFIDTag Tag, boolean senRep, boolean incRepLen, char csi, byte[] challenge, short repLen, int password)
           
protected  void BlockWriteTagData(java.lang.String Source, CAENRFIDTag tag, short address, short mask, short nbyte, byte[] twrite)
           
protected  short CheckChannelInTrigger(java.lang.String Trigger, java.lang.String Channel)
           
protected  short CheckSourceInChannel(java.lang.String Channel, java.lang.String Source)
           
protected  short CheckSourceInTrigger(java.lang.String Trigger, java.lang.String Source)
           
protected  short CheckTriggerInChannel(java.lang.String Channel, java.lang.String Trigger)
           
protected  void ClearBuffer(java.lang.String Source)
           
 void Connect(CAENRFIDPort ConType, java.lang.String Address)
          Start the communication with the CAEN RFID Reader.
 CAENRFIDChannel CreateChannel(java.lang.String Name, CAENRFIDChannelReservedType Type, int MaxBuffer)
          Create a Channel object inside the Reader.
 CAENRFIDChannel CreateChannel(java.lang.String Name, java.lang.String host, int port)
          Deprecated. 
 CAENRFIDTrigger CreateTrigger(java.lang.String Name, int timer)
          Deprecated. 
 CAENRFIDTrigger CreateTrigger(java.lang.String Name, int IOLine, int timer)
          Create a Trigger object inside the Reader.
protected  byte[] CustomCMD_EPC_C1G2(java.lang.String Source, CAENRFIDTag Tag, byte SubCmd, short Length, byte[] Data, short TRLength)
           
protected  byte[] CustomCMD_EPC_C1G2(java.lang.String Source, CAENRFIDTag Tag, byte SubCmd, short Length, byte[] Data, short TRLength, int SecurePassword)
           
 void Disconnect()
          Close the connection with the CAEN RFID Reader releasing all the allocated resources
 void DoLogin(int Password)
          Grants administrator reader's permission to the user.
 void DoLogout()
          Revokes all reader's administrator permissions to the user.
protected  EM4325TagData EM4325_GetSensorData(java.lang.String Source, CAENRFIDTag Tag, boolean UIDEnable, boolean NewSample)
           
protected  byte[] EM4325_GetUID(java.lang.String Source, CAENRFIDTag Tag)
           
protected  byte[] EM4325_GetUID(java.lang.String Source, CAENRFIDTag Tag, int password)
           
protected  void EM4325_ResetAlarms(java.lang.String Source, CAENRFIDTag Tag, int SecurePassword)
           
protected  byte[] EM4325_SendSPI(java.lang.String Source, CAENRFIDTag Tag, byte SPIConfig, byte[] SPICmd, int SlaveSPILength)
           
protected  byte[] EM4325_SendSPI(java.lang.String Source, CAENRFIDTag Tag, byte SPIConfig, byte[] SPICmd, int SlaveSPILength, int SecurePassword)
           
protected  boolean EventInventoryTag(java.lang.String Source, byte[] Mask, short MaskLength, short position, short flag)
           
 boolean ForceAbort(long timeout)
          This method tries to stop a pending continuos inventory (see EventInventoryTag method) that has not been stopped correclty by an InventoryAbort or Disconnect call.
protected  byte Fujitsu_BurstErase(java.lang.String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte)
           
protected  byte Fujitsu_BurstErase(java.lang.String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte, int SecurePassword)
           
protected  byte Fujitsu_BurstWrite(java.lang.String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte, byte[] data)
           
protected  byte Fujitsu_BurstWrite(java.lang.String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte, byte[] data, int SecurePassword)
           
protected  void Fujitsu_ChgBlockGroupPassword(java.lang.String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int NewPassword, int CurrentPassword)
           
protected  void Fujitsu_ChgBlockGroupPassword(java.lang.String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int NewPassword, int CurrentPassword, int SecurePassword)
           
protected  void Fujitsu_ChgBlockLock(java.lang.String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int Payload, int UserPassword)
           
protected  void Fujitsu_ChgBlockLock(java.lang.String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int Payload, int UserPassword, int SecurePassword)
           
protected  void Fujitsu_ChgWordLock(java.lang.String Source, CAENRFIDTag Tag, byte MemBank, short WordPtr, byte Payload, int UserPassword)
           
protected  void Fujitsu_ChgWordLock(java.lang.String Source, CAENRFIDTag Tag, byte MemBank, short WordPtr, byte Payload, int UserPassword, int SecurePassword)
           
protected  byte[] Fujitsu_ReadBlockLock(java.lang.String Source, CAENRFIDTag Tag, byte BlockGroupPtr)
           
protected  byte[] Fujitsu_ReadBlockLock(java.lang.String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int SecurePassword)
           
protected  void Fujitsu_Refresh(java.lang.String Source, CAENRFIDTag Tag, byte option)
           
protected  void Fujitsu_Refresh(java.lang.String Source, CAENRFIDTag Tag, byte option, int SecurePassword)
           
 void FWUpgradeTFTP(java.lang.String server, java.lang.String filename)
          Deprecated. 
protected  boolean getAbortStatus()
           
 CAENRFIDChannel[] GetAllocatedChannels()
          Deprecated. 
 CAENRFIDTrigger[] GetAllocatedTriggers()
          Deprecated. 
 int GetBatteryLevel()
          Returns the reader's battery charge level.
 CAENRFIDBitRate GetBitRate()
          Get the current setting of RF BitRate.
protected  CAENRFIDTag[] GetBufferedData(java.lang.String Source)
           
protected  CAENRFIDTag[] GetBufferedData(java.lang.String Source, int address, int length)
           
protected  int GetBufferSize(java.lang.String Source)
           
 CAENRFIDNotify[] GetChannelData(CAENRFIDChannel Channel)
          Deprecated. 
protected  short GetChannelStatus(java.lang.String Channel)
           
 CAENRFIDEventMode GetEventMode()
          Deprecated. 
 short GetFHSS()
          Gets the current FHSS mode setting.
 java.lang.String GetFirmwareRelease()
          Permits to read the firmware release loaded into the device.
 int GetIO()
          Get the current digital Input and Output lines value.
 int GetIODirection()
          Get the current digital Input and Output direction lines value.
 short GetLBTMode()
          Deprecated. 
protected  boolean getLoopStatus()
           
 int GetPower()
          Get the current setting of RF power.
 CAENRFIDProtocol GetProtocol()
          Get the current air protocol of the Reader
 CAENRFIDReaderInfo GetReaderInfo()
          Permits to read the ReaderInfo loaded into the device.
protected  short GetReadPointInSource(java.lang.String Source, java.lang.String Antenna)
           
 java.lang.String[] GetReadPoints()
          Get the ReadPoints available in the Reader
 CAENRFIDReadPointStatus GetReadPointStatus(java.lang.String ReadPoint)
          Get the CAENRFIDReadPointStatus object rapresenting the status of a ReadPoint.
 short GetRFChannel()
          Gets the RF Channel
 CAENRFIDRFRegulations GetRFRegulation()
          Gets RF regulation value
 CAENRFIDLogicalSource GetSource(java.lang.String Source)
          Get a Source object
protected  int GetSourceConfiguration(java.lang.String Source, int ParType)
           
static java.lang.String[] GetSourceNames()
          Get the Sources available in the Reader
 CAENRFIDLogicalSource[] GetSources()
          Get the Sources available on the reader
protected  CAENRFIDTag GroupSelUnsel(java.lang.String Source, CAENRFIDSelUnselOptions code, short Address, short BitMask, byte[] Data)
           
protected  void Hitachi_BlockLock(java.lang.String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad)
           
protected  void Hitachi_BlockLock(java.lang.String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad, int SecurePassword)
           
protected  void Hitachi_BlockReadLock(java.lang.String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad)
           
protected  void Hitachi_BlockReadLock(java.lang.String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad, int SecurePassword)
           
protected  byte[] Hitachi_GetSystemInfo(java.lang.String Source, CAENRFIDTag Tag)
           
protected  byte[] Hitachi_GetSystemInfo(java.lang.String Source, CAENRFIDTag Tag, int SecurePassword)
           
protected  void Hitachi_ReadLock(java.lang.String Source, CAENRFIDTag Tag, short Payload)
           
protected  void Hitachi_ReadLock(java.lang.String Source, CAENRFIDTag Tag, short Payload, int SecurePassword)
           
protected  void Hitachi_SetAttenuate(java.lang.String Source, CAENRFIDTag Tag, byte level, boolean lock)
           
protected  void Hitachi_SetAttenuate(java.lang.String Source, CAENRFIDTag Tag, byte level, boolean lock, int SecurePassword)
           
protected  void Hitachi_WriteMultipleWords(java.lang.String Source, CAENRFIDTag Tag, short MemBank, short WordPtr, byte WordCount, byte[] MaskData)
           
protected  void Hitachi_WriteMultipleWords(java.lang.String Source, CAENRFIDTag Tag, short MemBank, short WordPtr, byte WordCount, byte[] MaskData, int SecurePassword)
           
protected  void IDS_SL900A_EndLog(java.lang.String Source, CAENRFIDTag Tag)
           
protected  byte[] IDS_SL900A_GetLogState(java.lang.String Source, CAENRFIDTag Tag, boolean ShelfLife)
           
protected  byte[] IDS_SL900A_GetMeasurementSetup(java.lang.String Source, CAENRFIDTag Tag)
           
protected  byte[] IDS_SL900A_GetSensorValue(java.lang.String Source, CAENRFIDTag Tag, byte SensorType)
           
protected  void IDS_SL900A_Initialize(java.lang.String Source, CAENRFIDTag Tag, short DelayTime, short ApplicationData)
           
protected  void IDS_SL900A_SetLog(java.lang.String Source, CAENRFIDTag Tag, int LogMode)
           
protected  void IDS_SL900A_SetLogLimits(java.lang.String Source, CAENRFIDTag Tag, byte[] LogLimits)
           
protected  void IDS_SL900A_StartLog(java.lang.String Source, CAENRFIDTag Tag, int StartTime)
           
protected  CAENRFIDTag[] Inventory(java.lang.String Source)
           
 void InventoryAbort()
          Stops the InventoryTag when executed in Continuous Mode
protected  CAENRFIDTag[] InventoryTag(java.lang.String Source)
           
protected  CAENRFIDTag[] InventoryTag(java.lang.String Source, byte[] Mask, short MaskLength, short position, short flag)
           
protected  CAENRFIDTag[] InventoryTag(java.lang.String Source, short bank, byte[] Mask, short MaskLength, short Position, short flag)
           
protected  void ISO180006C_BroadcastSync(byte[] UTC)
           
protected  void KillTag_EPC_C1G1(java.lang.String Source, CAENRFIDTag tag, short passwd)
           
protected  void KillTag_EPC_C1G2(java.lang.String Source, CAENRFIDTag tag, int password)
           
protected  void KillTag_EPC_C1G2(java.lang.String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, int AccessPassword)
           
protected  void LockBlockPermalock_EPC_C1G2(java.lang.String Source, CAENRFIDTag Tag, short MemBank, short BlockPtr, short BlockRange, byte[] Mask, int AccessPassword)
           
protected  void LockTag_EPC_C1G2(java.lang.String Source, CAENRFIDTag tag, int payload)
           
protected  void LockTag_EPC_C1G2(java.lang.String Source, CAENRFIDTag tag, int payload, int SecurePassword)
           
protected  void LockTag_EPC_C1G2(java.lang.String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, int Payload)
           
protected  void LockTag_EPC_C1G2(java.lang.String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, int Payload, int AccessPassword)
           
protected  void LockTag(java.lang.String Source, CAENRFIDTag tag, short address)
           
 float MatchReadPointImpedance(java.lang.String ReadPoint)
          MatchReadPointImpedance matches the antenna impedance passed in ReadPoint.
 float MatchReadPointImpedance(java.lang.String ReadPoint, CAENRFIDMatchingParams MatchParam, short MatchParamValue)
          MatchReadPointImpedance matches the antenna impedance passed in ReadPoint.
protected  void NXP_Calibrate(java.lang.String Source, CAENRFIDTag Tag)
           
protected  void NXP_Calibrate(java.lang.String Source, CAENRFIDTag Tag, int SecurePassword)
           
protected  void NXP_ChangeConfig(java.lang.String Source, CAENRFIDTag Tag, short ConfigWord)
           
protected  void NXP_ChangeConfig(java.lang.String Source, CAENRFIDTag Tag, short ConfigWord, int SecurePassword)
           
protected  void NXP_ChangeEAS(java.lang.String Source, CAENRFIDTag Tag, boolean EAS)
           
protected  void NXP_ChangeEAS(java.lang.String Source, CAENRFIDTag Tag, boolean EAS, int SecurePassword)
           
protected  byte[] NXP_EAS_Alarm(java.lang.String Source, CAENRFIDTag Tag)
           
protected  byte[] NXP_EAS_Alarm(java.lang.String Source, CAENRFIDTag Tag, int SecurePassword)
           
protected  void NXP_ReadProtect(java.lang.String Source, CAENRFIDTag Tag)
           
protected  void NXP_ReadProtect(java.lang.String Source, CAENRFIDTag Tag, int SecurePassword)
           
protected  void NXP_ResetReadProtect(java.lang.String Source, CAENRFIDTag Tag, int Password)
           
protected  void NXP_ResetReadProtect(java.lang.String Source, CAENRFIDTag Tag, int Password, int SecurePassword)
           
protected  short Oridao_Begin(java.lang.String Source, CAENRFIDTag Tag)
           
protected  short Oridao_Begin(java.lang.String Source, CAENRFIDTag Tag, int SecurePassword)
           
protected  byte[] Oridao_Command(java.lang.String Source, CAENRFIDTag Tag, short handle, short WriteLengthBit, byte[] WriteData, short ReplyLengthBit)
           
protected  void Oridao_End(java.lang.String Source, CAENRFIDTag Tag)
           
 void PrintScreen(java.lang.String Text, int TerminalType)
          Print ASCII text on the reader's screen (if available).
protected  void ProgramID_EPC_C1G1(java.lang.String Source, CAENRFIDTag tag, short passwd, boolean lock)
           
protected  void ProgramID_EPC_C1G2(java.lang.String Source, CAENRFIDTag tag, short nsi)
           
protected  void ProgramID_EPC_C1G2(java.lang.String Source, CAENRFIDTag tag, short nsi, int SecurePassword)
           
protected  void ProgramID_EPC119(java.lang.String Source, CAENRFIDTag tag, byte[] newID)
           
protected  boolean Query_EPC_C1G2(java.lang.String Source)
           
protected  byte[] QueryAck_EPC_C1G2(java.lang.String Source)
           
protected  byte[] ReadBlockPermalock_EPC_C1G2(java.lang.String Source, CAENRFIDTag Tag, short MemBank, short BlockPtr, short BlockRange, int AccessPassword)
           
protected  byte[] ReadTagData_EPC_C1G2(java.lang.String Source, CAENRFIDTag tag, short membank, short address, short nbyte)
           
protected  byte[] ReadTagData_EPC_C1G2(java.lang.String Source, CAENRFIDTag tag, short membank, short address, short nbyte, int SecurePassword)
           
protected  byte[] ReadTagData_EPC_C1G2(java.lang.String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length)
           
protected  byte[] ReadTagData_EPC_C1G2(java.lang.String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length, int AccessPassword)
           
protected  byte[] ReadTagData(java.lang.String Source, CAENRFIDTag tag, short address, short nbyte)
           
 void removeCAENRFIDEventListener(CAENRFIDEventListener listener)
          Removes the specified CAENRFIDEvent listener so that it no longer receives CAENRFID events from this CAENRIFDReader.
 void RemoveChannel(CAENRFIDChannel Channel)
          Deprecated. 
protected  void RemoveNotifyTrigger(java.lang.String Channel, java.lang.String Trigger)
           
protected  void RemoveReadPoint(java.lang.String Source, java.lang.String Antenna)
           
protected  void RemoveReadTrigger(java.lang.String Source, java.lang.String Trigger)
           
protected  void RemoveSourceFromChannel(java.lang.String Channel, java.lang.String Source)
           
 void RemoveTrigger(CAENRFIDTrigger Trigger)
          Deprecated. 
protected  void ResetSession(java.lang.String Source)
           
protected  void setAbortStatus(boolean v)
           
 void SetAdminPassword(int Password)
          Set the admin password of the Reader.
 void SetBitRate(CAENRFIDBitRate BitRate)
          Set the RF BitRate to use.
 void SetDateTime(java.lang.String DateTime)
          Set the Date/Time of the Reader
 void SetEventMode(CAENRFIDEventMode EventMode)
          Deprecated. 
 void SetFHSS(short enable)
          Enable the FHSS (Frequency hopping) for the regulation (if supported).
 void SetIO(int IOValue)
          Set the Output lines value
 void SetIODIRECTION(int IODirection)
          Set the Output lines direction
 void SetLBTMode(short LBTMode)
          Deprecated. 
protected  void setLoopStatus(boolean v)
           
 void SetNetwork(java.lang.String IPAddress, java.lang.String NetMask, java.lang.String Gateway)
          Set the TCP/IP configuration of the Reader.
 void SetPower(int power)
          Set the RF power of the Reader.
 void SetProtocol(CAENRFIDProtocol Protocol)
          Set the air protocol of the Reader
 void SetReaderOPtions(short option)
          Deprecated. 
 void SetRFChannel(short Channel)
          Sets the RF Channel
 void SetRFRegulation(CAENRFIDRFRegulations RFRegulation)
          Sets the RF regulation value
 void SetRS232(int baud, int datab, int stopb, CAENRFIDRS232Constants parity, CAENRFIDRS232Constants flowc)
          Set the RS232 port of the Reader.
protected  void SetSourceConfiguration(java.lang.String Source, int ParType, int ParValue)
           
protected  boolean timeoutExceeded(long start_time, long timeout)
           
protected  void Untraceable_EPC_C1G2(java.lang.String Source, CAENRFIDTag Tag, boolean u, boolean hideEPC, byte hideTID, boolean hideUser, short range, short newEPCLen, int password)
           
protected  void WriteTagData_EPC_C1G2(java.lang.String Source, CAENRFIDTag tag, short membank, short address, short nbyte, byte[] twrite)
           
protected  void WriteTagData_EPC_C1G2(java.lang.String Source, CAENRFIDTag tag, short membank, short address, short nbyte, byte[] twrite, int SecurePassword)
           
protected  void WriteTagData_EPC_C1G2(java.lang.String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length, byte[] Data)
           
protected  void WriteTagData_EPC_C1G2(java.lang.String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length, byte[] Data, int AccessPassword)
           
protected  void WriteTagData(java.lang.String Source, CAENRFIDTag tag, short address, short nbyte, byte[] twrite)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_ID_LENGTH

protected static final int MAX_ID_LENGTH
See Also:
Constant Field Values

CONFIG_READCYCLE

protected static final int CONFIG_READCYCLE
See Also:
Constant Field Values

CONFIG_OBSERVEDTHRESHOLD

protected static final int CONFIG_OBSERVEDTHRESHOLD
See Also:
Constant Field Values

CONFIG_LOSTTHRESHOLD

protected static final int CONFIG_LOSTTHRESHOLD
See Also:
Constant Field Values

CONFIG_G2_Q_VALUE

protected static final int CONFIG_G2_Q_VALUE
See Also:
Constant Field Values

CONFIG_G2_SESSION

protected static final int CONFIG_G2_SESSION
See Also:
Constant Field Values

CONFIG_G2_TARGET

protected static final int CONFIG_G2_TARGET
See Also:
Constant Field Values

CONFIG_G2_SELECTED

protected static final int CONFIG_G2_SELECTED
See Also:
Constant Field Values

CONFIG_ISO18006B_DESB

protected static final int CONFIG_ISO18006B_DESB
See Also:
Constant Field Values

CONFIG_DWELL_TIME

protected static final int CONFIG_DWELL_TIME
See Also:
Constant Field Values

CONFIG_INV_COUNT

protected static final int CONFIG_INV_COUNT
See Also:
Constant Field Values

CONFIG_TID_LENGTH

protected static final int CONFIG_TID_LENGTH
See Also:
Constant Field Values

CONFIG_QUIET_TIME

protected static final int CONFIG_QUIET_TIME
See Also:
Constant Field Values

Version

public static final java.lang.String Version
Get the version of this library

See Also:
Constant Field Values

LoopMutex

protected final java.lang.Object LoopMutex

Loop

protected boolean Loop

listenerList

protected javax.swing.event.EventListenerList listenerList
Constructor Detail

CAENRFIDReader

public CAENRFIDReader()
Create a new CAEN RFID Reader object.

Method Detail

GetSourceNames

public static java.lang.String[] GetSourceNames()
Get the Sources available in the Reader

Returns:
The list of Source names available in the Reader.

GetAllocatedTriggers

@Deprecated
public CAENRFIDTrigger[] GetAllocatedTriggers()
                                       throws CAENRFIDException
Deprecated. 

Get the Triggers currently allocated in the Reader

Returns:
Returns the Triggers available in the Reader.
Throws:
CAENRFIDException - If the Reader raises an error.

GetAllocatedChannels

@Deprecated
public CAENRFIDChannel[] GetAllocatedChannels()
                                       throws CAENRFIDException
Deprecated. 

Get the Channels available in the Reader

Returns:
Returns the Channels available in the Reader.
Throws:
CAENRFIDException - If the Reader raises an error.

GetReadPoints

public java.lang.String[] GetReadPoints()
Get the ReadPoints available in the Reader

Returns:
The list of ReadPoints Names available in the Reader.

GetFirmwareRelease

public java.lang.String GetFirmwareRelease()
                                    throws CAENRFIDException
Permits to read the firmware release loaded into the device.

Returns:
Returns the firmware release of the device.
Throws:
CAENRFIDException - If the Reader raises an error.

GetReaderInfo

public CAENRFIDReaderInfo GetReaderInfo()
                                 throws CAENRFIDException
Permits to read the ReaderInfo loaded into the device.

Returns:
Returns the ReaderInfo of the device.
Throws:
CAENRFIDException - If the Reader raises an error.

GetSources

public CAENRFIDLogicalSource[] GetSources()
Get the Sources available on the reader

Returns:
The LogicalSource available in the Reader

GetSource

public CAENRFIDLogicalSource GetSource(java.lang.String Source)
                                throws CAENRFIDException
Get a Source object

Parameters:
Source - The name of the Source
Returns:
The CAENRFIDLogicalSource object with the requested name
Throws:
CAENRFIDException - If the Reader raises an error.

Connect

public void Connect(CAENRFIDPort ConType,
                    java.lang.String Address)
             throws CAENRFIDException
Start the communication with the CAEN RFID Reader. It must be called before any other method of the Reader object.

Parameters:
ConType - The communication link to use for connection
Address - Depending on ConType parameter. IP address for TCP/IP communications COM port for RS232 communications An index for USB communications. To specify a TCP port separate Address and port by a semi-colon (ex: "192.168.0.1:2300").
Throws:
CAENRFIDException - If the Reader raises an error.

Disconnect

public void Disconnect()
                throws CAENRFIDException
Close the connection with the CAEN RFID Reader releasing all the allocated resources

Throws:
CAENRFIDException - If the Reader raises an error.

timeoutExceeded

protected boolean timeoutExceeded(long start_time,
                                  long timeout)

ForceAbort

public boolean ForceAbort(long timeout)
                   throws CAENRFIDException
This method tries to stop a pending continuos inventory (see EventInventoryTag method) that has not been stopped correclty by an InventoryAbort or Disconnect call. Choose the timeout value based on the expected reader's load (large value if in presence of a large population of tags, small value if only few tags must be read).

Parameters:
timeout - Number of milliseconds to wait for the ends of the continuos inventory
Returns:
True if a continuos inventory end has been detected, false otherwise
Throws:
CAENRFIDException - If reader raises an error.

GetPower

public int GetPower()
             throws CAENRFIDException
Get the current setting of RF power.

Returns:
The current RF power referred to the antennae's connector without taking in account the antennae gain and cable loss.
Throws:
CAENRFIDException - If the Reader raises an error.

GetBatteryLevel

public int GetBatteryLevel()
                    throws CAENRFIDException
Returns the reader's battery charge level.

Returns:
The current battery charge level expressed in %.
Throws:
CAENRFIDException

GetIO

public int GetIO()
          throws CAENRFIDException
Get the current digital Input and Output lines value.

Returns:
A bitmask representing the I/O lines value. The format and the meaning of the bits depends on the Reader's model. Please refer to the corresponding user manual available on www.caen.it/rfid
Throws:
CAENRFIDException - If the Reader raises an error.

SetIO

public void SetIO(int IOValue)
           throws CAENRFIDException
Set the Output lines value

Parameters:
IOValue - A bitmask representing the I/O lines value. The format and the meaning of the bits depends on the Reader's model. Please refer to the corresponding user manual available on www.caen.it/rfid
Throws:
CAENRFIDException - If the Reader raises an error.

GetBitRate

public CAENRFIDBitRate GetBitRate()
                           throws CAENRFIDException
Get the current setting of RF BitRate.

Returns:
The current RF BitRate value.
Throws:
CAENRFIDException - If the Reader raises an error.

FWUpgradeTFTP

@Deprecated
public void FWUpgradeTFTP(java.lang.String server,
                                     java.lang.String filename)
                   throws CAENRFIDException
Deprecated. 

Perform the reader's firmware upgrade by TFTP

Parameters:
server - The ip address of TFTP Server that hold the firmware
filename - The name of the firmware to download
Throws:
CAENRFIDException - If the Reader raises an error.

GetProtocol

public CAENRFIDProtocol GetProtocol()
                             throws CAENRFIDException
Get the current air protocol of the Reader

Returns:
The CAENRFIDProtocol representing the current air protocol of the Reader
Throws:
CAENRFIDException - If the Reader raises an error.

GetEventMode

@Deprecated
public CAENRFIDEventMode GetEventMode()
                               throws CAENRFIDException
Deprecated. 

Get the current Event Generation Mode of the Reader

Returns:
The CAENRFIDEventMode representing the current Event Generation Mode of the Reader
Throws:
CAENRFIDException - If the Reader raises an error.

CreateTrigger

@Deprecated
public CAENRFIDTrigger CreateTrigger(java.lang.String Name,
                                                int timer)
                              throws CAENRFIDException
Deprecated. 

Create a Trigger object inside the Reader. The Trigger created is a "Timer Trigger".

Parameters:
Name - The name of the Trigger
timer - The time, in millisecond, for the "Timer Trigger".
Returns:
The CAENRFIDTrigger object created inside the Reader.
Throws:
CAENRFIDException - If the Reader raises an error.

CreateTrigger

public CAENRFIDTrigger CreateTrigger(java.lang.String Name,
                                     int IOLine,
                                     int timer)
                              throws CAENRFIDException
Create a Trigger object inside the Reader. The Trigger created is a "I/O Trigger".

Parameters:
Name - The name of the Trigger
IOLine - The I/O line that fire the Trigger
timer - The time, in millisecond, between a I/O check.
Returns:
The CAENRFIDTrigger object created inside the Reader.
Throws:
CAENRFIDException - If the Reader raises an error.

CreateChannel

@Deprecated
public CAENRFIDChannel CreateChannel(java.lang.String Name,
                                                java.lang.String host,
                                                int port)
                              throws CAENRFIDException
Deprecated. 

Create a Channel object inside the Reader. The Channel is used for the Reader notifications.

Parameters:
Name - The name of the channel
host - The IP address of the server that will receive the notifications
port - The TCP/IP port of the server.
Returns:
The CAENRFIDChannel object created inside the Reader.
Throws:
CAENRFIDException - If the Reader raises an error.

CreateChannel

public CAENRFIDChannel CreateChannel(java.lang.String Name,
                                     CAENRFIDChannelReservedType Type,
                                     int MaxBuffer)
                              throws CAENRFIDException
Create a Channel object inside the Reader. The Channel is used for Memory Mode.

Parameters:
Name - The name of the channel
Type - The CAENRFIDReserved Channel Type
MaxBuffer - The max number of tags that can be memorized by the Channel.
Returns:
The CAENRFIDChannel object created inside the Reader.
Throws:
CAENRFIDException - If the Reader raises an error.

RemoveTrigger

@Deprecated
public void RemoveTrigger(CAENRFIDTrigger Trigger)
                   throws CAENRFIDException
Deprecated. 

Delete a Trigger inside the Reader releasing all the allocated resources

Parameters:
Trigger - The Trigger object to remove.
Throws:
CAENRFIDException - If the Reader raises an error.

RemoveChannel

@Deprecated
public void RemoveChannel(CAENRFIDChannel Channel)
                   throws CAENRFIDException
Deprecated. 

Delete a Channel inside the Reader releasing all the allocated resources

Parameters:
Channel - The CAENRFIDChannel object to remove.
Throws:
CAENRFIDException - If the Reader raises an error.

SetPower

public void SetPower(int power)
              throws CAENRFIDException
Set the RF power of the Reader.

Parameters:
power - The RF power referred to the antennae's connector without taking in account the antennae gain and cable loss.
Throws:
CAENRFIDException - If the Reader raises an error.

PrintScreen

public void PrintScreen(java.lang.String Text,
                        int TerminalType)
                 throws CAENRFIDException
Print ASCII text on the reader's screen (if available).

Parameters:
Text - An arbitrary ASCII string.
TerminalType - RFU parameter, default is 0 (VT100).
Throws:
CAENRFIDException - If the reader raises an error.

SetBitRate

public void SetBitRate(CAENRFIDBitRate BitRate)
                throws CAENRFIDException
Set the RF BitRate to use.

Parameters:
BitRate - The RF BitRate value.
Throws:
CAENRFIDException - If the Reader raises an error.

SetProtocol

public void SetProtocol(CAENRFIDProtocol Protocol)
                 throws CAENRFIDException
Set the air protocol of the Reader

Parameters:
Protocol - The CAENRFIDProtocol representing the air protocol.
Throws:
CAENRFIDException - If the Reader raises an error.

SetEventMode

@Deprecated
public void SetEventMode(CAENRFIDEventMode EventMode)
                  throws CAENRFIDException
Deprecated. 

Set the Event Generation Mode of the Reader

Parameters:
EventMode - The CAENRFIDEventMode representing the Event Generation Mode.
Throws:
CAENRFIDException - If the Reader raises an error.

GetReadPointStatus

public CAENRFIDReadPointStatus GetReadPointStatus(java.lang.String ReadPoint)
                                           throws CAENRFIDException
Get the CAENRFIDReadPointStatus object rapresenting the status of a ReadPoint.

Parameters:
ReadPoint - The ReadPoint name to check.
Returns:
The CAENRFIDReadPointStatus object rapresenting the current Status of the ReadPoint
Throws:
CAENRFIDException - If the Reader raises an error.

MatchReadPointImpedance

public float MatchReadPointImpedance(java.lang.String ReadPoint)
                              throws CAENRFIDException
MatchReadPointImpedance matches the antenna impedance passed in ReadPoint.

Parameters:
ReadPoint - The antenna to be matched
Returns:
A real number greater then one,that rapresent the return status of the matching operation
Throws:
CAENRFIDException

MatchReadPointImpedance

public float MatchReadPointImpedance(java.lang.String ReadPoint,
                                     CAENRFIDMatchingParams MatchParam,
                                     short MatchParamValue)
                              throws CAENRFIDException
MatchReadPointImpedance matches the antenna impedance passed in ReadPoint.

Parameters:
ReadPoint - The antenna to be matched
MatchParam - A CAENRFIDMatchingParams parameters for matching operation.
MatchParamValue - The value of the MatchParam.
Returns:
A real number greater then one,that rapresent the return status of the matching operation
Throws:
CAENRFIDException

SetNetwork

public void SetNetwork(java.lang.String IPAddress,
                       java.lang.String NetMask,
                       java.lang.String Gateway)
                throws CAENRFIDException
Set the TCP/IP configuration of the Reader. To apply the changes the Reader should be restarted.

Parameters:
IPAddress - The IP address.
NetMask - The netmask.
Gateway - The gateway
Throws:
CAENRFIDException - If the Reader raises an error.

SetReaderOPtions

@Deprecated
public void SetReaderOPtions(short option)
                      throws CAENRFIDException
Deprecated. 

Set an Option of the Reader.

Parameters:
option - The options to be set.
Throws:
CAENRFIDException

SetAdminPassword

public void SetAdminPassword(int Password)
                      throws CAENRFIDException
Set the admin password of the Reader.

Parameters:
Password - The admin password
Throws:
CAENRFIDException - If the Reader raises an error.

DoLogin

public void DoLogin(int Password)
             throws CAENRFIDException
Grants administrator reader's permission to the user.

Parameters:
Password - The admin password for the admin authentication.
Throws:
CAENRFIDException - If the Reader raises an error.

DoLogout

public void DoLogout()
              throws CAENRFIDException
Revokes all reader's administrator permissions to the user.

Throws:
CAENRFIDException - If the Reader raises an error.

SetDateTime

public void SetDateTime(java.lang.String DateTime)
                 throws CAENRFIDException
Set the Date/Time of the Reader

Parameters:
DateTime - The Date/Time for the Reader. The Date/Time value a String like: "yyyy-mm-dd hh:mm:ss"
Throws:
CAENRFIDException - If the Reader raises an error.

GetBufferedData

protected CAENRFIDTag[] GetBufferedData(java.lang.String Source)
                                 throws CAENRFIDException
Throws:
CAENRFIDException

GetBufferedData

protected CAENRFIDTag[] GetBufferedData(java.lang.String Source,
                                        int address,
                                        int length)
                                 throws CAENRFIDException
Throws:
CAENRFIDException

GetBufferSize

protected int GetBufferSize(java.lang.String Source)
                     throws CAENRFIDException
Throws:
CAENRFIDException

ClearBuffer

protected void ClearBuffer(java.lang.String Source)
                    throws CAENRFIDException
Throws:
CAENRFIDException

Inventory

protected CAENRFIDTag[] Inventory(java.lang.String Source)
                           throws CAENRFIDException
Throws:
CAENRFIDException

InventoryTag

protected CAENRFIDTag[] InventoryTag(java.lang.String Source)
                              throws CAENRFIDException
Throws:
CAENRFIDException

InventoryTag

protected CAENRFIDTag[] InventoryTag(java.lang.String Source,
                                     byte[] Mask,
                                     short MaskLength,
                                     short position,
                                     short flag)
                              throws CAENRFIDException
Throws:
CAENRFIDException

InventoryTag

protected CAENRFIDTag[] InventoryTag(java.lang.String Source,
                                     short bank,
                                     byte[] Mask,
                                     short MaskLength,
                                     short Position,
                                     short flag)
                              throws CAENRFIDException
Throws:
CAENRFIDException

EventInventoryTag

protected boolean EventInventoryTag(java.lang.String Source,
                                    byte[] Mask,
                                    short MaskLength,
                                    short position,
                                    short flag)
                             throws CAENRFIDException
Throws:
CAENRFIDException

addCAENRFIDEventListener

public void addCAENRFIDEventListener(CAENRFIDEventListener listener)
Adds the specified CAENRFIDEvent listener to receive CAENRFIDEvent events from this CAENRIFDReader

Parameters:
listener - the CAENRFIDEvent listener

removeCAENRFIDEventListener

public void removeCAENRFIDEventListener(CAENRFIDEventListener listener)
Removes the specified CAENRFIDEvent listener so that it no longer receives CAENRFID events from this CAENRIFDReader.

Parameters:
listener - the CAENRFIDEvent listener

InventoryAbort

public void InventoryAbort()
                    throws CAENRFIDException
Stops the InventoryTag when executed in Continuous Mode

Throws:
CAENRFIDException - If Reader raises an error

ReadTagData

protected byte[] ReadTagData(java.lang.String Source,
                             CAENRFIDTag tag,
                             short address,
                             short nbyte)
                      throws CAENRFIDException
Throws:
CAENRFIDException

WriteTagData

protected void WriteTagData(java.lang.String Source,
                            CAENRFIDTag tag,
                            short address,
                            short nbyte,
                            byte[] twrite)
                     throws CAENRFIDException
Throws:
CAENRFIDException

LockTag

protected void LockTag(java.lang.String Source,
                       CAENRFIDTag tag,
                       short address)
                throws CAENRFIDException
Throws:
CAENRFIDException

BlockWriteTagData

protected void BlockWriteTagData(java.lang.String Source,
                                 CAENRFIDTag tag,
                                 short address,
                                 short mask,
                                 short nbyte,
                                 byte[] twrite)
                          throws CAENRFIDException
Throws:
CAENRFIDException

ProgramID_EPC_C1G1

protected void ProgramID_EPC_C1G1(java.lang.String Source,
                                  CAENRFIDTag tag,
                                  short passwd,
                                  boolean lock)
                           throws CAENRFIDException
Throws:
CAENRFIDException

ProgramID_EPC119

protected void ProgramID_EPC119(java.lang.String Source,
                                CAENRFIDTag tag,
                                byte[] newID)
                         throws CAENRFIDException
Throws:
CAENRFIDException

KillTag_EPC_C1G1

protected void KillTag_EPC_C1G1(java.lang.String Source,
                                CAENRFIDTag tag,
                                short passwd)
                         throws CAENRFIDException
Throws:
CAENRFIDException

AddReadPoint

protected void AddReadPoint(java.lang.String Source,
                            java.lang.String Antenna)
                     throws CAENRFIDException
Throws:
CAENRFIDException

RemoveReadPoint

protected void RemoveReadPoint(java.lang.String Source,
                               java.lang.String Antenna)
                        throws CAENRFIDException
Throws:
CAENRFIDException

GetReadPointInSource

protected short GetReadPointInSource(java.lang.String Source,
                                     java.lang.String Antenna)
                              throws CAENRFIDException
Throws:
CAENRFIDException

SetSourceConfiguration

protected void SetSourceConfiguration(java.lang.String Source,
                                      int ParType,
                                      int ParValue)
                               throws CAENRFIDException
Throws:
CAENRFIDException

GetSourceConfiguration

protected int GetSourceConfiguration(java.lang.String Source,
                                     int ParType)
                              throws CAENRFIDException
Throws:
CAENRFIDException

AddNotifyTrigger

protected void AddNotifyTrigger(java.lang.String Channel,
                                java.lang.String Trigger)
                         throws CAENRFIDException
Throws:
CAENRFIDException

RemoveNotifyTrigger

protected void RemoveNotifyTrigger(java.lang.String Channel,
                                   java.lang.String Trigger)
                            throws CAENRFIDException
Throws:
CAENRFIDException

AddSourceToChannel

protected void AddSourceToChannel(java.lang.String Channel,
                                  java.lang.String Source)
                           throws CAENRFIDException
Throws:
CAENRFIDException

RemoveSourceFromChannel

protected void RemoveSourceFromChannel(java.lang.String Channel,
                                       java.lang.String Source)
                                throws CAENRFIDException
Throws:
CAENRFIDException

AddReadTrigger

protected void AddReadTrigger(java.lang.String Source,
                              java.lang.String Trigger)
                       throws CAENRFIDException
Throws:
CAENRFIDException

RemoveReadTrigger

protected void RemoveReadTrigger(java.lang.String Source,
                                 java.lang.String Trigger)
                          throws CAENRFIDException
Throws:
CAENRFIDException

CheckSourceInChannel

protected short CheckSourceInChannel(java.lang.String Channel,
                                     java.lang.String Source)
                              throws CAENRFIDException
Throws:
CAENRFIDException

CheckTriggerInChannel

protected short CheckTriggerInChannel(java.lang.String Channel,
                                      java.lang.String Trigger)
                               throws CAENRFIDException
Throws:
CAENRFIDException

CheckSourceInTrigger

protected short CheckSourceInTrigger(java.lang.String Trigger,
                                     java.lang.String Source)
                              throws CAENRFIDException
Throws:
CAENRFIDException

CheckChannelInTrigger

protected short CheckChannelInTrigger(java.lang.String Trigger,
                                      java.lang.String Channel)
                               throws CAENRFIDException
Throws:
CAENRFIDException

ReadTagData_EPC_C1G2

protected byte[] ReadTagData_EPC_C1G2(java.lang.String Source,
                                      CAENRFIDTag tag,
                                      short membank,
                                      short address,
                                      short nbyte)
                               throws CAENRFIDException
Throws:
CAENRFIDException

ReadTagData_EPC_C1G2

protected byte[] ReadTagData_EPC_C1G2(java.lang.String Source,
                                      CAENRFIDTag tag,
                                      short membank,
                                      short address,
                                      short nbyte,
                                      int SecurePassword)
                               throws CAENRFIDException
Throws:
CAENRFIDException

ReadTagData_EPC_C1G2

protected byte[] ReadTagData_EPC_C1G2(java.lang.String Source,
                                      short BankMask,
                                      short PositionMask,
                                      short LengthMask,
                                      byte[] Mask,
                                      short MemBank,
                                      short Address,
                                      short Length)
                               throws CAENRFIDException
Throws:
CAENRFIDException

ReadTagData_EPC_C1G2

protected byte[] ReadTagData_EPC_C1G2(java.lang.String Source,
                                      short BankMask,
                                      short PositionMask,
                                      short LengthMask,
                                      byte[] Mask,
                                      short MemBank,
                                      short Address,
                                      short Length,
                                      int AccessPassword)
                               throws CAENRFIDException
Throws:
CAENRFIDException

WriteTagData_EPC_C1G2

protected void WriteTagData_EPC_C1G2(java.lang.String Source,
                                     CAENRFIDTag tag,
                                     short membank,
                                     short address,
                                     short nbyte,
                                     byte[] twrite)
                              throws CAENRFIDException
Throws:
CAENRFIDException

WriteTagData_EPC_C1G2

protected void WriteTagData_EPC_C1G2(java.lang.String Source,
                                     CAENRFIDTag tag,
                                     short membank,
                                     short address,
                                     short nbyte,
                                     byte[] twrite,
                                     int SecurePassword)
                              throws CAENRFIDException
Throws:
CAENRFIDException

WriteTagData_EPC_C1G2

protected void WriteTagData_EPC_C1G2(java.lang.String Source,
                                     short BankMask,
                                     short PositionMask,
                                     short LengthMask,
                                     byte[] Mask,
                                     short MemBank,
                                     short Address,
                                     short Length,
                                     byte[] Data)
                              throws CAENRFIDException
Throws:
CAENRFIDException

WriteTagData_EPC_C1G2

protected void WriteTagData_EPC_C1G2(java.lang.String Source,
                                     short BankMask,
                                     short PositionMask,
                                     short LengthMask,
                                     byte[] Mask,
                                     short MemBank,
                                     short Address,
                                     short Length,
                                     byte[] Data,
                                     int AccessPassword)
                              throws CAENRFIDException
Throws:
CAENRFIDException

LockBlockPermalock_EPC_C1G2

protected void LockBlockPermalock_EPC_C1G2(java.lang.String Source,
                                           CAENRFIDTag Tag,
                                           short MemBank,
                                           short BlockPtr,
                                           short BlockRange,
                                           byte[] Mask,
                                           int AccessPassword)
                                    throws CAENRFIDException
Throws:
CAENRFIDException

ReadBlockPermalock_EPC_C1G2

protected byte[] ReadBlockPermalock_EPC_C1G2(java.lang.String Source,
                                             CAENRFIDTag Tag,
                                             short MemBank,
                                             short BlockPtr,
                                             short BlockRange,
                                             int AccessPassword)
                                      throws CAENRFIDException
Throws:
CAENRFIDException

LockTag_EPC_C1G2

protected void LockTag_EPC_C1G2(java.lang.String Source,
                                CAENRFIDTag tag,
                                int payload)
                         throws CAENRFIDException
Throws:
CAENRFIDException

LockTag_EPC_C1G2

protected void LockTag_EPC_C1G2(java.lang.String Source,
                                CAENRFIDTag tag,
                                int payload,
                                int SecurePassword)
                         throws CAENRFIDException
Throws:
CAENRFIDException

LockTag_EPC_C1G2

protected void LockTag_EPC_C1G2(java.lang.String Source,
                                short BankMask,
                                short PositionMask,
                                short LengthMask,
                                byte[] Mask,
                                int Payload)
                         throws CAENRFIDException
Throws:
CAENRFIDException

LockTag_EPC_C1G2

protected void LockTag_EPC_C1G2(java.lang.String Source,
                                short BankMask,
                                short PositionMask,
                                short LengthMask,
                                byte[] Mask,
                                int Payload,
                                int AccessPassword)
                         throws CAENRFIDException
Throws:
CAENRFIDException

KillTag_EPC_C1G2

protected void KillTag_EPC_C1G2(java.lang.String Source,
                                CAENRFIDTag tag,
                                int password)
                         throws CAENRFIDException
Throws:
CAENRFIDException

KillTag_EPC_C1G2

protected void KillTag_EPC_C1G2(java.lang.String Source,
                                short BankMask,
                                short PositionMask,
                                short LengthMask,
                                byte[] Mask,
                                int AccessPassword)
                         throws CAENRFIDException
Throws:
CAENRFIDException

ProgramID_EPC_C1G2

protected void ProgramID_EPC_C1G2(java.lang.String Source,
                                  CAENRFIDTag tag,
                                  short nsi)
                           throws CAENRFIDException
Throws:
CAENRFIDException

ProgramID_EPC_C1G2

protected void ProgramID_EPC_C1G2(java.lang.String Source,
                                  CAENRFIDTag tag,
                                  short nsi,
                                  int SecurePassword)
                           throws CAENRFIDException
Throws:
CAENRFIDException

Query_EPC_C1G2

protected boolean Query_EPC_C1G2(java.lang.String Source)
                          throws CAENRFIDException
Throws:
CAENRFIDException

QueryAck_EPC_C1G2

protected byte[] QueryAck_EPC_C1G2(java.lang.String Source)
                            throws CAENRFIDException
Throws:
CAENRFIDException

Untraceable_EPC_C1G2

protected void Untraceable_EPC_C1G2(java.lang.String Source,
                                    CAENRFIDTag Tag,
                                    boolean u,
                                    boolean hideEPC,
                                    byte hideTID,
                                    boolean hideUser,
                                    short range,
                                    short newEPCLen,
                                    int password)
                             throws CAENRFIDException
Throws:
CAENRFIDException

Authenticate_EPC_C1G2

protected byte[] Authenticate_EPC_C1G2(java.lang.String Source,
                                       CAENRFIDTag Tag,
                                       boolean senRep,
                                       boolean incRepLen,
                                       char csi,
                                       byte[] challenge,
                                       short repLen,
                                       int password)
                                throws CAENRFIDException
Throws:
CAENRFIDException

CustomCMD_EPC_C1G2

protected byte[] CustomCMD_EPC_C1G2(java.lang.String Source,
                                    CAENRFIDTag Tag,
                                    byte SubCmd,
                                    short Length,
                                    byte[] Data,
                                    short TRLength)
                             throws CAENRFIDException
Throws:
CAENRFIDException

NXP_ReadProtect

protected void NXP_ReadProtect(java.lang.String Source,
                               CAENRFIDTag Tag)
                        throws CAENRFIDException
Throws:
CAENRFIDException

NXP_ReadProtect

protected void NXP_ReadProtect(java.lang.String Source,
                               CAENRFIDTag Tag,
                               int SecurePassword)
                        throws CAENRFIDException
Throws:
CAENRFIDException

NXP_ResetReadProtect

protected void NXP_ResetReadProtect(java.lang.String Source,
                                    CAENRFIDTag Tag,
                                    int Password)
                             throws CAENRFIDException
Throws:
CAENRFIDException

NXP_ResetReadProtect

protected void NXP_ResetReadProtect(java.lang.String Source,
                                    CAENRFIDTag Tag,
                                    int Password,
                                    int SecurePassword)
                             throws CAENRFIDException
Throws:
CAENRFIDException

NXP_ChangeEAS

protected void NXP_ChangeEAS(java.lang.String Source,
                             CAENRFIDTag Tag,
                             boolean EAS)
                      throws CAENRFIDException
Throws:
CAENRFIDException

NXP_ChangeEAS

protected void NXP_ChangeEAS(java.lang.String Source,
                             CAENRFIDTag Tag,
                             boolean EAS,
                             int SecurePassword)
                      throws CAENRFIDException
Throws:
CAENRFIDException

NXP_EAS_Alarm

protected byte[] NXP_EAS_Alarm(java.lang.String Source,
                               CAENRFIDTag Tag)
                        throws CAENRFIDException
Throws:
CAENRFIDException

NXP_EAS_Alarm

protected byte[] NXP_EAS_Alarm(java.lang.String Source,
                               CAENRFIDTag Tag,
                               int SecurePassword)
                        throws CAENRFIDException
Throws:
CAENRFIDException

NXP_Calibrate

protected void NXP_Calibrate(java.lang.String Source,
                             CAENRFIDTag Tag)
                      throws CAENRFIDException
Throws:
CAENRFIDException

NXP_Calibrate

protected void NXP_Calibrate(java.lang.String Source,
                             CAENRFIDTag Tag,
                             int SecurePassword)
                      throws CAENRFIDException
Throws:
CAENRFIDException

NXP_ChangeConfig

protected void NXP_ChangeConfig(java.lang.String Source,
                                CAENRFIDTag Tag,
                                short ConfigWord)
                         throws CAENRFIDException
Throws:
CAENRFIDException

NXP_ChangeConfig

protected void NXP_ChangeConfig(java.lang.String Source,
                                CAENRFIDTag Tag,
                                short ConfigWord,
                                int SecurePassword)
                         throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_ReadLock

protected void Hitachi_ReadLock(java.lang.String Source,
                                CAENRFIDTag Tag,
                                short Payload)
                         throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_ReadLock

protected void Hitachi_ReadLock(java.lang.String Source,
                                CAENRFIDTag Tag,
                                short Payload,
                                int SecurePassword)
                         throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_WriteMultipleWords

protected void Hitachi_WriteMultipleWords(java.lang.String Source,
                                          CAENRFIDTag Tag,
                                          short MemBank,
                                          short WordPtr,
                                          byte WordCount,
                                          byte[] MaskData)
                                   throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_WriteMultipleWords

protected void Hitachi_WriteMultipleWords(java.lang.String Source,
                                          CAENRFIDTag Tag,
                                          short MemBank,
                                          short WordPtr,
                                          byte WordCount,
                                          byte[] MaskData,
                                          int SecurePassword)
                                   throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_BlockLock

protected void Hitachi_BlockLock(java.lang.String Source,
                                 CAENRFIDTag Tag,
                                 byte BlockNum,
                                 int Password,
                                 byte PayLoad)
                          throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_BlockLock

protected void Hitachi_BlockLock(java.lang.String Source,
                                 CAENRFIDTag Tag,
                                 byte BlockNum,
                                 int Password,
                                 byte PayLoad,
                                 int SecurePassword)
                          throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_BlockReadLock

protected void Hitachi_BlockReadLock(java.lang.String Source,
                                     CAENRFIDTag Tag,
                                     byte BlockNum,
                                     int Password,
                                     byte PayLoad)
                              throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_BlockReadLock

protected void Hitachi_BlockReadLock(java.lang.String Source,
                                     CAENRFIDTag Tag,
                                     byte BlockNum,
                                     int Password,
                                     byte PayLoad,
                                     int SecurePassword)
                              throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_GetSystemInfo

protected byte[] Hitachi_GetSystemInfo(java.lang.String Source,
                                       CAENRFIDTag Tag)
                                throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_GetSystemInfo

protected byte[] Hitachi_GetSystemInfo(java.lang.String Source,
                                       CAENRFIDTag Tag,
                                       int SecurePassword)
                                throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_SetAttenuate

protected void Hitachi_SetAttenuate(java.lang.String Source,
                                    CAENRFIDTag Tag,
                                    byte level,
                                    boolean lock)
                             throws CAENRFIDException
Throws:
CAENRFIDException

Hitachi_SetAttenuate

protected void Hitachi_SetAttenuate(java.lang.String Source,
                                    CAENRFIDTag Tag,
                                    byte level,
                                    boolean lock,
                                    int SecurePassword)
                             throws CAENRFIDException
Throws:
CAENRFIDException

CustomCMD_EPC_C1G2

protected byte[] CustomCMD_EPC_C1G2(java.lang.String Source,
                                    CAENRFIDTag Tag,
                                    byte SubCmd,
                                    short Length,
                                    byte[] Data,
                                    short TRLength,
                                    int SecurePassword)
                             throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_Refresh

protected void Fujitsu_Refresh(java.lang.String Source,
                               CAENRFIDTag Tag,
                               byte option)
                        throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_Refresh

protected void Fujitsu_Refresh(java.lang.String Source,
                               CAENRFIDTag Tag,
                               byte option,
                               int SecurePassword)
                        throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_ChgWordLock

protected void Fujitsu_ChgWordLock(java.lang.String Source,
                                   CAENRFIDTag Tag,
                                   byte MemBank,
                                   short WordPtr,
                                   byte Payload,
                                   int UserPassword)
                            throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_ChgWordLock

protected void Fujitsu_ChgWordLock(java.lang.String Source,
                                   CAENRFIDTag Tag,
                                   byte MemBank,
                                   short WordPtr,
                                   byte Payload,
                                   int UserPassword,
                                   int SecurePassword)
                            throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_ChgBlockLock

protected void Fujitsu_ChgBlockLock(java.lang.String Source,
                                    CAENRFIDTag Tag,
                                    byte BlockGroupPtr,
                                    int Payload,
                                    int UserPassword,
                                    int SecurePassword)
                             throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_ChgBlockLock

protected void Fujitsu_ChgBlockLock(java.lang.String Source,
                                    CAENRFIDTag Tag,
                                    byte BlockGroupPtr,
                                    int Payload,
                                    int UserPassword)
                             throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_ReadBlockLock

protected byte[] Fujitsu_ReadBlockLock(java.lang.String Source,
                                       CAENRFIDTag Tag,
                                       byte BlockGroupPtr)
                                throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_ReadBlockLock

protected byte[] Fujitsu_ReadBlockLock(java.lang.String Source,
                                       CAENRFIDTag Tag,
                                       byte BlockGroupPtr,
                                       int SecurePassword)
                                throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_ChgBlockGroupPassword

protected void Fujitsu_ChgBlockGroupPassword(java.lang.String Source,
                                             CAENRFIDTag Tag,
                                             byte BlockGroupPtr,
                                             int NewPassword,
                                             int CurrentPassword)
                                      throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_ChgBlockGroupPassword

protected void Fujitsu_ChgBlockGroupPassword(java.lang.String Source,
                                             CAENRFIDTag Tag,
                                             byte BlockGroupPtr,
                                             int NewPassword,
                                             int CurrentPassword,
                                             int SecurePassword)
                                      throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_BurstWrite

protected byte Fujitsu_BurstWrite(java.lang.String Source,
                                  CAENRFIDTag Tag,
                                  byte MemBank,
                                  short address,
                                  byte nbyte,
                                  byte[] data)
                           throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_BurstWrite

protected byte Fujitsu_BurstWrite(java.lang.String Source,
                                  CAENRFIDTag Tag,
                                  byte MemBank,
                                  short address,
                                  byte nbyte,
                                  byte[] data,
                                  int SecurePassword)
                           throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_BurstErase

protected byte Fujitsu_BurstErase(java.lang.String Source,
                                  CAENRFIDTag Tag,
                                  byte MemBank,
                                  short address,
                                  byte nbyte)
                           throws CAENRFIDException
Throws:
CAENRFIDException

Fujitsu_BurstErase

protected byte Fujitsu_BurstErase(java.lang.String Source,
                                  CAENRFIDTag Tag,
                                  byte MemBank,
                                  short address,
                                  byte nbyte,
                                  int SecurePassword)
                           throws CAENRFIDException
Throws:
CAENRFIDException

EM4325_GetUID

protected byte[] EM4325_GetUID(java.lang.String Source,
                               CAENRFIDTag Tag)
                        throws CAENRFIDException
Throws:
CAENRFIDException

EM4325_GetUID

protected byte[] EM4325_GetUID(java.lang.String Source,
                               CAENRFIDTag Tag,
                               int password)
                        throws CAENRFIDException
Throws:
CAENRFIDException

EM4325_GetSensorData

protected EM4325TagData EM4325_GetSensorData(java.lang.String Source,
                                             CAENRFIDTag Tag,
                                             boolean UIDEnable,
                                             boolean NewSample)
                                      throws CAENRFIDException
Throws:
CAENRFIDException

EM4325_SendSPI

protected byte[] EM4325_SendSPI(java.lang.String Source,
                                CAENRFIDTag Tag,
                                byte SPIConfig,
                                byte[] SPICmd,
                                int SlaveSPILength)
                         throws CAENRFIDException
Throws:
CAENRFIDException

EM4325_SendSPI

protected byte[] EM4325_SendSPI(java.lang.String Source,
                                CAENRFIDTag Tag,
                                byte SPIConfig,
                                byte[] SPICmd,
                                int SlaveSPILength,
                                int SecurePassword)
                         throws CAENRFIDException
Throws:
CAENRFIDException

EM4325_ResetAlarms

protected void EM4325_ResetAlarms(java.lang.String Source,
                                  CAENRFIDTag Tag,
                                  int SecurePassword)
                           throws CAENRFIDException
Throws:
CAENRFIDException

ISO180006C_BroadcastSync

protected void ISO180006C_BroadcastSync(byte[] UTC)
                                 throws CAENRFIDException
Throws:
CAENRFIDException

IDS_SL900A_Initialize

protected void IDS_SL900A_Initialize(java.lang.String Source,
                                     CAENRFIDTag Tag,
                                     short DelayTime,
                                     short ApplicationData)
                              throws CAENRFIDException
Throws:
CAENRFIDException

IDS_SL900A_SetLog

protected void IDS_SL900A_SetLog(java.lang.String Source,
                                 CAENRFIDTag Tag,
                                 int LogMode)
                          throws CAENRFIDException
Throws:
CAENRFIDException

IDS_SL900A_StartLog

protected void IDS_SL900A_StartLog(java.lang.String Source,
                                   CAENRFIDTag Tag,
                                   int StartTime)
                            throws CAENRFIDException
Throws:
CAENRFIDException

IDS_SL900A_EndLog

protected void IDS_SL900A_EndLog(java.lang.String Source,
                                 CAENRFIDTag Tag)
                          throws CAENRFIDException
Throws:
CAENRFIDException

IDS_SL900A_GetLogState

protected byte[] IDS_SL900A_GetLogState(java.lang.String Source,
                                        CAENRFIDTag Tag,
                                        boolean ShelfLife)
                                 throws CAENRFIDException
Throws:
CAENRFIDException

IDS_SL900A_GetSensorValue

protected byte[] IDS_SL900A_GetSensorValue(java.lang.String Source,
                                           CAENRFIDTag Tag,
                                           byte SensorType)
                                    throws CAENRFIDException
Throws:
CAENRFIDException

IDS_SL900A_SetLogLimits

protected void IDS_SL900A_SetLogLimits(java.lang.String Source,
                                       CAENRFIDTag Tag,
                                       byte[] LogLimits)
                                throws CAENRFIDException
Throws:
CAENRFIDException

IDS_SL900A_GetMeasurementSetup

protected byte[] IDS_SL900A_GetMeasurementSetup(java.lang.String Source,
                                                CAENRFIDTag Tag)
                                         throws CAENRFIDException
Throws:
CAENRFIDException

Oridao_Begin

protected short Oridao_Begin(java.lang.String Source,
                             CAENRFIDTag Tag)
                      throws CAENRFIDException
Throws:
CAENRFIDException

Oridao_Begin

protected short Oridao_Begin(java.lang.String Source,
                             CAENRFIDTag Tag,
                             int SecurePassword)
                      throws CAENRFIDException
Throws:
CAENRFIDException

Oridao_Command

protected byte[] Oridao_Command(java.lang.String Source,
                                CAENRFIDTag Tag,
                                short handle,
                                short WriteLengthBit,
                                byte[] WriteData,
                                short ReplyLengthBit)
                         throws CAENRFIDException
Throws:
CAENRFIDException

Oridao_End

protected void Oridao_End(java.lang.String Source,
                          CAENRFIDTag Tag)
                   throws CAENRFIDException
Throws:
CAENRFIDException

GetRFRegulation

public CAENRFIDRFRegulations GetRFRegulation()
                                      throws CAENRFIDException
Gets RF regulation value

Returns:
The RF regulation value
Throws:
CAENRFIDException - If the Reader raises an error.

SetRFRegulation

public void SetRFRegulation(CAENRFIDRFRegulations RFRegulation)
                     throws CAENRFIDException
Sets the RF regulation value

Parameters:
RFRegulation - The RF regulation value to set
Throws:
CAENRFIDException - If the Reader raises an error.

GetRFChannel

public short GetRFChannel()
                   throws CAENRFIDException
Gets the RF Channel

Returns:
The RF channel.
Throws:
CAENRFIDException - If the Reader raises an error.

SetRFChannel

public void SetRFChannel(short Channel)
                  throws CAENRFIDException
Sets the RF Channel

Parameters:
Channel - The RF channel to set
Throws:
CAENRFIDException - If the Reader raises an error.

GetLBTMode

@Deprecated
public short GetLBTMode()
                 throws CAENRFIDException
Deprecated. 

Gets the LBT mode

Returns:
The LBT value
Throws:
CAENRFIDException - If the Reader raises an error.

SetLBTMode

@Deprecated
public void SetLBTMode(short LBTMode)
                throws CAENRFIDException
Deprecated. 

Sets/Resets the LBT mode

Parameters:
LBTMode - The Data Exchange LBT value to set. 1 set LBT Mode to ON, 0: resets LBT Mode to OFF
Throws:
CAENRFIDException - If the Reader raises an error.

GetFHSS

public short GetFHSS()
              throws CAENRFIDException
Gets the current FHSS mode setting.

Returns:
A zero value if the FHSS is disabled, non-zero value if it is enabled.
Throws:
CAENRFIDException - If the Reader raises an error.

SetFHSS

public void SetFHSS(short enable)
             throws CAENRFIDException
Enable the FHSS (Frequency hopping) for the regulation (if supported).

Parameters:
enable - The FHSS setting value to be set. 1 to set FHSS Mode ON, 0 to set FHSS Mode OFF.
Throws:
CAENRFIDException - If the Reader raises an error.

ResetSession

protected void ResetSession(java.lang.String Source)
                     throws CAENRFIDException
Throws:
CAENRFIDException

GetChannelData

@Deprecated
public CAENRFIDNotify[] GetChannelData(CAENRFIDChannel Channel)
                                throws CAENRFIDException
Deprecated. 

Retrieve the Data from the Channel (Memory Mode)

Parameters:
Channel - The name of the channel
Returns:
An CAENRFIDChannel Object that holds all data memorized by the Channel
Throws:
CAENRFIDException - If the Reader raises an error.

_SetRFOnOff

@Deprecated
public void _SetRFOnOff(short OnOff)
                 throws CAENRFIDException
Deprecated. For debugging purpose only.

Sets/Resets the RF section

Parameters:
OnOff - The value to set. value 1 set RF to ON, value 0 resets RF to OFF
Throws:
CAENRFIDException - If the Reader raises an error.

GetChannelStatus

protected short GetChannelStatus(java.lang.String Channel)
                          throws CAENRFIDException
Throws:
CAENRFIDException

GetIODirection

public int GetIODirection()
                   throws CAENRFIDException
Get the current digital Input and Output direction lines value.

Returns:
A bitmask representing the direction of the I/O lines. The format and the meaning of the bits depends on the Reader's model. Please refer to the corresponding user manual available on www.caen.it/rfid
Throws:
CAENRFIDException - If the Reader raises an error.

SetIODIRECTION

public void SetIODIRECTION(int IODirection)
                    throws CAENRFIDException
Set the Output lines direction

Parameters:
IODirection - A bitmask representing the direction of the I/O lines. The format and the meaning of the bits depends on the Reader's model. Please refer to the corresponding user manual available on www.caen.it/rfid
Throws:
CAENRFIDException - If the Reader raises an error.

SetRS232

public void SetRS232(int baud,
                     int datab,
                     int stopb,
                     CAENRFIDRS232Constants parity,
                     CAENRFIDRS232Constants flowc)
              throws CAENRFIDException
Set the RS232 port of the Reader.

Parameters:
baud - The Baudrate value to set
datab - The DataBit value to set
stopb - The StopBit value to set
parity - The Parity value to set
flowc - The FlowControll value to set
Throws:
CAENRFIDException - If the Reader raises an error.

GroupSelUnsel

protected CAENRFIDTag GroupSelUnsel(java.lang.String Source,
                                    CAENRFIDSelUnselOptions code,
                                    short Address,
                                    short BitMask,
                                    byte[] Data)
                             throws CAENRFIDException
Throws:
CAENRFIDException

getLoopStatus

protected boolean getLoopStatus()

setLoopStatus

protected void setLoopStatus(boolean v)

getAbortStatus

protected boolean getAbortStatus()

setAbortStatus

protected void setAbortStatus(boolean v)