com.caen.RFIDLibrary
Class CAENRFIDLogicalSource

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

public final class CAENRFIDLogicalSource
extends java.lang.Object

This class defines the CAEN RFID LogicalSource.

Author:
Andrea Iavazzo (a.iavazzo@caen.it) CAEN RFID Srl Computing Division @2009-2011

Method Summary
 void addCAENRFIDEventListener(CAENRFIDEventListener listener)
          Adds the specified CAENRFID Event listener to receive event events from this CAENRIFDReceiver.
 void AddReadPoint(java.lang.String ReadPoint)
          Add a ReadPoint to the Source
 void AddTrigger(CAENRFIDTrigger trigger)
          Deprecated. 
 void BlockWriteTagData(CAENRFIDTag Tag, short Address, short Length, byte[] Data)
          Write into the Tag's memory (for byte at a time) (only ISO18000_6b) This method doesen't work with semi-pasive tags.
 void BlockWriteTagData(CAENRFIDTag Tag, short Address, short mask, short Length, byte[] Data)
          Write into the Tag's memory (for byte at a time) (only ISO18000_6b) This method doesen't work with semi-pasive tags.
 byte[] CustomCommand_EPC_C1G2(CAENRFIDTag Tag, byte SubCmd, short TXLen, byte[] Data, short RXLen)
          Sends an EPC C1G2 Custom Command
 byte[] CustomCommand_EPC_C1G2(CAENRFIDTag Tag, byte SubCmd, short TXLen, byte[] Data, short RXLen, int AccessPassword)
          Sends an EPC C1G2 Custom Command in Secure Mode.
 boolean EventInventoryTag(byte[] Mask, short MaskLength, short Position, short Flag)
          A call to this method will start a sequence of read cycle on each read point linked to the logical source.
 byte Fujitsu_BurstErase(CAENRFIDTag Tag, byte MemBank, short Address, byte Length)
          Sends the Fujitsu BurstErase custom command
 byte Fujitsu_BurstErase(CAENRFIDTag Tag, byte MemBank, short Address, byte Length, int AccessPassword)
          Sends the Fujitsu BurstErase custom command
 byte Fujitsu_BurstWrite(CAENRFIDTag Tag, byte MemBank, short Address, byte Length, byte[] data)
          Sends the Fujitsu BurstWrite custom command
 byte Fujitsu_BurstWrite(CAENRFIDTag Tag, byte MemBank, short Address, byte Length, byte[] Data, int AccessPassword)
          Sends the Fujitsu BurstWrite custom command
 void Fujitsu_ChgBlockGroupPassword(CAENRFIDTag Tag, byte BlockGroupPtr, int NewPassword, int OldPassword)
          Sends the Fujitsu ChgBlockGroupPassword custom command
 void Fujitsu_ChgBlockGroupPassword(CAENRFIDTag Tag, byte BlockGroupPtr, int NewPassword, int OldPassword, int AccessPassword)
          Sends the Fujitsu ChgBlockGroupPassword custom command
 void Fujitsu_ChgBlockLock(CAENRFIDTag Tag, byte BlockGroupPtr, int Payload, int UserPassword)
          Sends the Fujitsu ChgBlockLock custom command
 void Fujitsu_ChgBlockLock(CAENRFIDTag Tag, byte BlockGroupPtr, int Payload, int UserPassword, int AccessPassword)
          Sends the Fujitsu ChgBlockLock custom command
 void Fujitsu_ChgWordLock(CAENRFIDTag Tag, byte MemBank, short WordPtr, byte Payload, int UserPassword)
          Sends the Fujitsu ChgWordLock custom command
 void Fujitsu_ChgWordLock(CAENRFIDTag Tag, byte MemBank, short WordPtr, byte Payload, int UserPassword, int AccessPassword)
          Sends the Fujitsu ChgWordLock custom command
 byte[] Fujitsu_ReadBlockLock(CAENRFIDTag Tag, byte BlockGroupPtr)
          Sends the Fujitsu ReadBlockLock custom command
 byte[] Fujitsu_ReadBlockLock(CAENRFIDTag Tag, byte BlockGroupPtr, int AccessPassword)
          Sends the Fujitsu ReadBlockLock custom command
 void Fujitsu_Refresh(CAENRFIDTag Tag, byte option)
          Sends the Fujitsu Refresh custom command
 void Fujitsu_Refresh(CAENRFIDTag Tag, byte Option, int AccessPassword)
          Sends the Fujitsu Refresh custom command
 CAENRFIDTag[] GetBufferedData()
          The function returns all the Tags stored in reader's memory using all the ReadPoints belonging to the Source.
 CAENRFIDLogicalSourceConstants GetDESB_ISO180006B()
          Get the current DESB value for the C1G2 Protocol of the Source
 int GetLostThreshold()
          Deprecated. 
 java.lang.String GetName()
          Get the name of the Source
 int GetObservedThreshold()
          Deprecated. 
 int GetQ_EPC_C1G2()
          Get the current Q Value for the C1G2 Protocol of the Source
 int GetReadCycle()
          Get the ReadCycle number of the Source
 CAENRFIDLogicalSourceConstants GetSelected_EPC_C1G2()
          Get the current Selected value for the C1G2 Protocol of the Source
 CAENRFIDLogicalSourceConstants GetSession_EPC_C1G2()
          Get the current Section value for the C1G2 Protocol of the Source
 CAENRFIDLogicalSourceConstants GetTarget_EPC_C1G2()
          Get the current Target value for the C1G2 Protocol of the Source
 CAENRFIDTag GroupSelUnsel(CAENRFIDSelUnselOptions Code, short Address, short BitMask, byte[] Data)
          Send a Group SelectUnselect command to the reader
 void Hitachi_BlockLock(CAENRFIDTag Tag, byte BlockNum, int UserPassword, byte PayLoad)
          Sends the Hitachi BlockLock custom command
 void Hitachi_BlockLock(CAENRFIDTag Tag, byte BlockNum, int UserPassword, byte PayLoad, int AccessPassword)
          Sends the Hitachi BlockLock custom command
 void Hitachi_BlockReadLock(CAENRFIDTag Tag, byte BlockNum, int UserPassword, byte PayLoad)
          Sends the Hitachi BlockReadLock custom command
 void Hitachi_BlockReadLock(CAENRFIDTag Tag, byte BlockNum, int UserPassword, byte PayLoad, int AccessPassword)
          Sends the Hitachi BlockReadLock custom command
 HitachiSysInfo Hitachi_GetSystemInfo(CAENRFIDTag Tag)
          Deprecated. 
 HitachiSysInfo Hitachi_GetSystemInfo(CAENRFIDTag Tag, int AccessPassword)
          Sends the Hitachi GetSystemInfo custom command
 void Hitachi_ReadLock(CAENRFIDTag Tag, short Payload)
          Sends the Hitachi ReadLock custom command
 void Hitachi_ReadLock(CAENRFIDTag Tag, short Payload, int AccessPassword)
          Sends the Hitachi ReadLock custom command
 void Hitachi_SetAttenuate(CAENRFIDTag Tag, byte Level, boolean LevelLock)
          Sends the Hitachi SetAttenuate custom command
 void Hitachi_SetAttenuate(CAENRFIDTag Tag, byte Level, boolean LevelLock, int AccessPassword)
          Sends the Hitachi SetAttenuate custom command
 void Hitachi_WriteMultipleWords(CAENRFIDTag Tag, short MemBank, short Address, byte Length, byte[] Data)
          Sends the Hitachi WriteMultipleWord custom command
 void Hitachi_WriteMultipleWords(CAENRFIDTag Tag, short MemBank, short WordPtr, byte WordCount, byte[] MaskData, int AccessPassword)
          Sends the Hitachi WriteMultipleWord custom command
 CAENRFIDTag[] Inventory()
          Deprecated. As of CAENRFIDLibrary version 2.1, replaced by InventoryTag.
 CAENRFIDTag[] InventoryTag()
          The function returns all the Tags under the reader field using all the ReadPoints belonging to the Source.
 CAENRFIDTag[] InventoryTag(byte[] Mask, short MaskLength, short Position)
          The function returns all the Tags under the reader field that match to a specified mask, using all the ReadPoints belonging to the Source.
 CAENRFIDTag[] InventoryTag(byte[] Mask, short MaskLength, short Position, short Flag)
          The function returns all the Tags under the reader field that match to a specified mask, using all the ReadPoints belonging to the Source.
 CAENRFIDTag[] InventoryTag(short bank, byte[] Mask, short MaskLength, short Position)
          The function returns all the Tags under the reader field that match to a specified mask, using all the ReadPoints belonging to the Source.
 CAENRFIDTag[] InventoryTag(short bank, byte[] Mask, short MaskLength, short Position, short Flag)
          The function returns all the Tags under the reader field that match to a specified mask, using all the ReadPoints belonging to the Source.
 boolean isReadPointPresent(java.lang.String ReadPoint)
          Check if a ReadPoint is present in the Source
 void KillTag_EPC_C1G1(CAENRFIDTag Tag, short Password)
          Kill the EPC_C1G1 Tag.
 void KillTag_EPC_C1G2(CAENRFIDTag Tag, int Password)
          Kill the EPC_C1G2 Tag.
 void KillTag_EPC_C1G2(short BankMask, short PositionMask, short LengthMask, byte[] Mask, int Password)
          Kill the EPC_C1G2 Tag
 void LockBlockPermalock_EPC_C1G2(CAENRFIDTag Tag, short MemBank, short BlockPtr, short BlockRange, byte[] Mask, int AccessPassword)
          This method implements the BlockPermalock with ReadLock=1 as specified in EPC C1G2 rev. 1.2.0 protocol.
 void LockTag_EPC_C1G2(CAENRFIDTag Tag, int Payload)
          Lock a EPC C1G2 Tag's memory.
 void LockTag_EPC_C1G2(CAENRFIDTag Tag, int Payload, int AccessPassword)
          Lock a EPC C1G2 Tag's memory in Secure Mode.
 void LockTag_EPC_C1G2(short BankMask, short PositionMask, short LengthMask, byte[] Mask, int Payload)
          Lock a EPC C1G2 Tag's memory in Secure Mode.
 void LockTag_EPC_C1G2(short BankMask, short PositionMask, short LengthMask, byte[] Mask, int Payload, int AccessPassword)
          Lock a EPC C1G2 Tag's memory in Secure Mode.
 void LockTag_ISO180006B(CAENRFIDTag Tag, short Address)
          Lock a EPC C1G1 Tag's memory.
 void NXP_Calibrate(CAENRFIDTag Tag)
          Deprecated. 
 void NXP_Calibrate(CAENRFIDTag Tag, int AccessPassword)
          Sends the NXP Calibrate custom command
 void NXP_ChangeConfig(CAENRFIDTag Tag, short ConfigWord)
          This method can be used to issue a NXP_ChangeConfig custom command as defined in the NXP UCODE G2iM and G2iM+ datasheet.
 void NXP_ChangeConfig(CAENRFIDTag Tag, short ConfigWord, int Password)
          This method can be used to issue a NXP_ChangeConfig custom command as defined in the NXP UCODE G2iM and G2iM+ datasheet.
 void NXP_ChangeEAS(CAENRFIDTag Tag, boolean EAS)
          Deprecated. 
 void NXP_ChangeEAS(CAENRFIDTag Tag, boolean EAS, int AccessPassword)
          Sends the NXP Change EAS custom command
 byte[] NXP_EAS_Alarm()
          Sends the NXP EAS Alarm custom command
 byte[] NXP_EAS_Alarm(CAENRFIDTag Tag, int AccessPassword)
          Deprecated. 
 void NXP_ReadProtect(CAENRFIDTag Tag)
          Sends the NXP Calibrate custom command
 void NXP_ReadProtect(CAENRFIDTag Tag, int AccessPassword)
          Sends the NXP ReadProtect custom command
 void NXP_ResetReadProtect(CAENRFIDTag Tag, int Password)
          Deprecated. 
 void NXP_ResetReadProtect(CAENRFIDTag Tag, int Password, int AccessPassword)
          Sends the NXP ResetReadProtect custom command
 void ProgramID_EPC_C1G1(CAENRFIDTag Tag, short Password, boolean Lock)
          Write the ID into the EPC_C1G1 Tag
 void ProgramID_EPC_C1G2(CAENRFIDTag Tag, short NSI)
          Write the ID into the EPC_C1G2 Tag
 void ProgramID_EPC_C1G2(CAENRFIDTag Tag, short NSI, int AccessPassword)
          Write the ID into the EPC_C1G2 Tag in Secure Mode
 void ProgramID_EPC119(CAENRFIDTag Tag, byte[] NewID)
          Write the ID into the EPC_1.19 Tag
 boolean Query_EPC_C1G2()
          Query for detect a EPC C1G2 Tag.
 byte[] QueryAck_EPC_C1G2()
          Query for detect the single Tag under the RF field.
 byte[] ReadBlockPermalock_EPC_C1G2(CAENRFIDTag Tag, short MemBank, short BlockPtr, short BlockRange, int AccessPassword)
          This method implements the BlockPermalock with ReadLock=0 as specified in EPC C1G2 rev. 1.2.0 protocol.
 byte[] ReadTagData_EPC_C1G2(CAENRFIDTag Tag, short MemBank, short Address, short Length)
          Read EPC C1G2 Tag's memory
 byte[] ReadTagData_EPC_C1G2(CAENRFIDTag Tag, short MemBank, short Address, short Length, int AccessPassword)
          Read EPC C1G2 Tag's memory in Secure Mode
 byte[] ReadTagData_EPC_C1G2(short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length)
          Read EPC C1G2 Tag's memory
 byte[] ReadTagData_EPC_C1G2(short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length, int AccessPassword)
          Read EPC C1G2 Tag's memory
 byte[] ReadTagData(CAENRFIDTag Tag, short Address, short Length)
          Read Tag's memory (only ISO18000_6b)
 void removeCAENRFIDEventListener(CAENRFIDEventListener listener)
          Removes the specified CAENRFIDEvent listener so that it no longer receives CAENRFID events from this CAENRFIDReceiver.
 void RemoveReadPoint(java.lang.String ReadPoint)
          Remove the a ReadPoint from the Source
 void RemoveTrigger(CAENRFIDTrigger trigger)
          Deprecated. 
 void ResetSession_EPC_C1G2()
          Reset the Session for the EPC C1G2 Tags.
 void SetDESB_ISO180006B(CAENRFIDLogicalSourceConstants Value)
          Set the DESB value for the ISO180006_B Protocol of the Source
 void SetLostThreshold(int Value)
          Deprecated. 
 void SetObservedThreshold(int Value)
          Deprecated. 
 void SetQ_EPC_C1G2(int Value)
          Set the Q value for the C1G2 Protocol of the Source
 void SetReadCycle(int Value)
          Set the number of ReadCycle of the Source
 void SetSelected_EPC_C1G2(CAENRFIDLogicalSourceConstants Value)
          Set the Selected value for the C1G2 Protocol of the Source
 void SetSession_EPC_C1G2(CAENRFIDLogicalSourceConstants Value)
          Set the Section value for the C1G2 Protocol of the Source
 void SetTarget_EPC_C1G2(CAENRFIDLogicalSourceConstants Value)
          Set the Target value for the C1G2 Protocol of the Source
 void WriteTagData_EPC_C1G2(CAENRFIDTag Tag, short MemBank, short Address, short Length, byte[] Data)
          Write into the EPC C1G2 Tag's memory
 void WriteTagData_EPC_C1G2(CAENRFIDTag Tag, short MemBank, short Address, short Length, byte[] Data, int AccessPassword)
          Write into the EPC C1G2 Tag's memory in Secure Mode
 void WriteTagData_EPC_C1G2(short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length, byte[] Data)
          Write EPC C1G2 Tag's memory
 void WriteTagData_EPC_C1G2(short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length, byte[] Data, int AccessPassword)
          Write EPC C1G2 Tag's memory
 void WriteTagData(CAENRFIDTag Tag, short Address, short Length, byte[] Data)
          Write into the Tag's memory (only ISO18000_6b)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

AddReadPoint

public void AddReadPoint(java.lang.String ReadPoint)
                  throws CAENRFIDException
Add a ReadPoint to the Source

Parameters:
antenna - The ReadPoint Name
Throws:
CAENRFIDException - If reader raise an error.

RemoveReadPoint

public void RemoveReadPoint(java.lang.String ReadPoint)
                     throws CAENRFIDException
Remove the a ReadPoint from the Source

Parameters:
ReadPoint - The ReadPoint Name
Throws:
CAENRFIDException - If reader raises an error

isReadPointPresent

public boolean isReadPointPresent(java.lang.String ReadPoint)
                           throws CAENRFIDException
Check if a ReadPoint is present in the Source

Parameters:
ReadPoint - The ReadPoint name
Returns:
a boolean value representing the presence of a ReadPoint in the Source
Throws:
CAENRFIDException - If reader raises an error

SetReadCycle

public void SetReadCycle(int Value)
                  throws CAENRFIDException
Set the number of ReadCycle of the Source

Parameters:
Value - The number of ReadCycle
Throws:
CAENRFIDException - If reader raises an error

GetReadCycle

public int GetReadCycle()
                 throws CAENRFIDException
Get the ReadCycle number of the Source

Returns:
The number of ReadCycle of the Source
Throws:
CAENRFIDException - If reader raises an error

SetObservedThreshold

@Deprecated
public void SetObservedThreshold(int Value)
                          throws CAENRFIDException
Deprecated. 

Set the threshold for the Observed status of the Source

Parameters:
Value - The threshold value
Throws:
CAENRFIDException - If reader raises an error

GetObservedThreshold

@Deprecated
public int GetObservedThreshold()
                         throws CAENRFIDException
Deprecated. 

Get the current threshold for the Observed status of the Source

Returns:
The current threshold value
Throws:
CAENRFIDException - If reader raises an error

SetLostThreshold

@Deprecated
public void SetLostThreshold(int Value)
                      throws CAENRFIDException
Deprecated. 

Set the threshold for the Lost status of the Source

Parameters:
Value - The threshold value
Throws:
CAENRFIDException - If reader raises an error

GetLostThreshold

@Deprecated
public int GetLostThreshold()
                     throws CAENRFIDException
Deprecated. 

Get the current threshold for the Lost status of the Source

Returns:
The current threshold value
Throws:
CAENRFIDException - If reader raises an error

GetName

public java.lang.String GetName()
Get the name of the Source

Returns:
The Source Name

AddTrigger

@Deprecated
public void AddTrigger(CAENRFIDTrigger trigger)
                throws CAENRFIDException
Deprecated. 

Add a read trigger in the Source

Parameters:
trigger - The CAENRFIDTrigger representing the trigger to be added in the Source
Throws:
CAENRFIDException - If reader raises an error

RemoveTrigger

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

Remove a read Trigger from the Source

Parameters:
trigger - The CAENRFIDTrigger representing the trigger to be removed from the Source
Throws:
CAENRFIDException - If reader raises an error

Inventory

@Deprecated
public CAENRFIDTag[] Inventory()
                        throws CAENRFIDException
Deprecated. As of CAENRFIDLibrary version 2.1, replaced by InventoryTag.

The function returns all the Tags under the reader field using all the ReadPoints belonging to the Source.

Returns:
An array of CAENRFIDTag objects detected
Throws:
CAENRFIDException - If reader raises an error.

InventoryTag

public CAENRFIDTag[] InventoryTag()
                           throws CAENRFIDException
The function returns all the Tags under the reader field using all the ReadPoints belonging to the Source.

Returns:
An array of CAENRFIDTag objects detected
Throws:
CAENRFIDException - If reader raises an error.

InventoryTag

public CAENRFIDTag[] InventoryTag(byte[] Mask,
                                  short MaskLength,
                                  short Position)
                           throws CAENRFIDException
The function returns all the Tags under the reader field that match to a specified mask, using all the ReadPoints belonging to the Source.

Parameters:
Mask - The byte array representing the Mask to match to the ID
MaskLength - the length in bit of the Mask
Position - The start index in bit from where starting to compare the Mask
Returns:
An array of CAENRFIDTag objects detected
Throws:
CAENRFIDException - If reader raises an error.

InventoryTag

public CAENRFIDTag[] InventoryTag(byte[] Mask,
                                  short MaskLength,
                                  short Position,
                                  short Flag)
                           throws CAENRFIDException
The function returns all the Tags under the reader field that match to a specified mask, using all the ReadPoints belonging to the Source.

Parameters:
Mask - The byte array representing the Mask to match to the ID
MaskLength - the length in bit of the Mask
Position - The start index in bit from where starting to compare the Mask
Returns:
An array of CAENRFIDTag objects detected
Throws:
CAENRFIDException - If reader raises an error.

InventoryTag

public CAENRFIDTag[] InventoryTag(short bank,
                                  byte[] Mask,
                                  short MaskLength,
                                  short Position)
                           throws CAENRFIDException
The function returns all the Tags under the reader field that match to a specified mask, using all the ReadPoints belonging to the Source.

Parameters:
bank - A value representing the memory bank where apply the filter
Mask - The byte array representing the Mask to match to the ID
MaskLength - the length in bit of the Mask
Position - The start index in bit from where starting to compare the Mask
Returns:
An array of CAENRFIDTag objects detected
Throws:
CAENRFIDException - If reader raises an error.

InventoryTag

public CAENRFIDTag[] InventoryTag(short bank,
                                  byte[] Mask,
                                  short MaskLength,
                                  short Position,
                                  short Flag)
                           throws CAENRFIDException
The function returns all the Tags under the reader field that match to a specified mask, using all the ReadPoints belonging to the Source.

Parameters:
bank - A value representing the memory bank where apply the filter
Mask - The byte array representing the Mask to match to the ID
MaskLength - the length in bit of the Mask
Position - The start index in bit from where starting to compare the Mask
Flag - A bitmask representing the InventoryTag options. Bit 0 RSSI on/off Bit 1: Framed data on/off Bit 2: Continuous acquisition on/off Bit 3: Compact data on/off Bit 4: TID reading on/off Bit 7: XPC reading on/off
Returns:
An array of CAENRFIDTag objects detected
Throws:
CAENRFIDException - If reader raises an error.

EventInventoryTag

public boolean EventInventoryTag(byte[] Mask,
                                 short MaskLength,
                                 short Position,
                                 short Flag)
                          throws CAENRFIDException
A call to this method will start a sequence of read cycle on each read point linked to the logical source. The readings will be notified to the controller via event generation.

Parameters:
Mask - A byte array representing the bitmask to apply.
MaskLength - A value representing the length of the bitmask.
Position - A value representing the first bit where the match will start.
Flag - A bitmask representing the InventoryTag options. Bit 0 RSSI on/off Bit 1: Framed data on/off Bit 2: Continuous acquisition on/off Bit 3: Compact data on/off Bit 4: TID reading on/off Bit 5 (A828BT only!): EventTrigger mode on/off Bit 7: XPC reading on/off
Returns:
A boolean value that represents the status of the command: true if the reader has accepted the command; false otherwise.
Throws:
CAENRFIDException

GetBufferedData

public CAENRFIDTag[] GetBufferedData()
                              throws CAENRFIDException
The function returns all the Tags stored in reader's memory using all the ReadPoints belonging to the Source.

Returns:
An array of CAENRFIDTag objects detected
Throws:
CAENRFIDException

ReadTagData

public byte[] ReadTagData(CAENRFIDTag Tag,
                          short Address,
                          short Length)
                   throws CAENRFIDException
Read Tag's memory (only ISO18000_6b)

Parameters:
Tag - The CAENRFIDTag representing the Tag to be readed
Address - The starting Tag's Address
Length - The number of byte to be readed
Returns:
The Tag's memory value readed.
Throws:
CAENRFIDException - If reader raises an error

ReadTagData_EPC_C1G2

public byte[] ReadTagData_EPC_C1G2(CAENRFIDTag Tag,
                                   short MemBank,
                                   short Address,
                                   short Length)
                            throws CAENRFIDException
Read EPC C1G2 Tag's memory

Parameters:
Tag - The CAENRFIDTag representing the Tag to be readed
MemBank - The Memory Bank to read
Address - The starting Tag's Address
Length - The number of byte to be readed
Returns:
The Tag's memory value readed.
Throws:
CAENRFIDException - If reader raises an error

ReadTagData_EPC_C1G2

public byte[] ReadTagData_EPC_C1G2(CAENRFIDTag Tag,
                                   short MemBank,
                                   short Address,
                                   short Length,
                                   int AccessPassword)
                            throws CAENRFIDException
Read EPC C1G2 Tag's memory in Secure Mode

Parameters:
Tag - The CAENRFIDTag representing the Tag to be readed
MemBank - The Memory Bank to read
Address - The starting Tag's Address
Length - The number of byte to be readed
AccessPassword - The Secure password.
Returns:
The Tag's memory value readed.
Throws:
CAENRFIDException - If reader raises an error

ReadTagData_EPC_C1G2

public byte[] ReadTagData_EPC_C1G2(short BankMask,
                                   short PositionMask,
                                   short LengthMask,
                                   byte[] Mask,
                                   short MemBank,
                                   short Address,
                                   short Length)
                            throws CAENRFIDException
Read EPC C1G2 Tag's memory

Parameters:
BankMask - Memory bank for tag identificantion
PositionMask - A value representing the first bit of BankMask where the match will start.
LengthMask - A value representing the bit-oriented length of the bitmask.
Mask - A byte array representing the bitmask to apply.
MemBank - The Memory Bank to read
Address - The starting Tag's Address
Length - The number of byte to be readed
Returns:
The Tag's memory value readed.
Throws:
CAENRFIDException - If reader raises an error

ReadTagData_EPC_C1G2

public byte[] ReadTagData_EPC_C1G2(short BankMask,
                                   short PositionMask,
                                   short LengthMask,
                                   byte[] Mask,
                                   short MemBank,
                                   short Address,
                                   short Length,
                                   int AccessPassword)
                            throws CAENRFIDException
Read EPC C1G2 Tag's memory

Parameters:
BankMask - Memory bank for tag identificantion
PositionMask - A value representing the first bit of BankMask where the match will start.
LengthMask - A value representing the bit-oriented length of the bitmask.
Mask - A byte array representing the bitmask to apply.
MemBank - The Memory Bank to read
Address - The starting Tag's Address
Length - The number of byte to be readed
AccessPassword - The Secure password.
Returns:
The Tag's memory value readed.
Throws:
CAENRFIDException - If reader raises an error

LockBlockPermalock_EPC_C1G2

public void LockBlockPermalock_EPC_C1G2(CAENRFIDTag Tag,
                                        short MemBank,
                                        short BlockPtr,
                                        short BlockRange,
                                        byte[] Mask,
                                        int AccessPassword)
                                 throws CAENRFIDException
This method implements the BlockPermalock with ReadLock=1 as specified in EPC C1G2 rev. 1.2.0 protocol.

Parameters:
Tag - The CAENRFIDTag representing the tag to be written
MemBank - The memory bank where to write the data.
BlockPtr - The address where to start writing the data.
BlockRange - The number of word of the mask
Mask - A bitmask that permit to select which of the four bytes have to be locked (i.e. mask 0x05 write the bytes on position Address + 1 and Address + 3)
AccessPassword - The access password
Throws:
CAENRFIDException

ReadBlockPermalock_EPC_C1G2

public byte[] ReadBlockPermalock_EPC_C1G2(CAENRFIDTag Tag,
                                          short MemBank,
                                          short BlockPtr,
                                          short BlockRange,
                                          int AccessPassword)
                                   throws CAENRFIDException
This method implements the BlockPermalock with ReadLock=0 as specified in EPC C1G2 rev. 1.2.0 protocol.

Parameters:
Tag - The CAENRFIDTag representing the tag to be read.
Membank - Memory bank for tag identificantion
BlockPtr - The address to start where reading tag
BlockRange - The number of word to be read.
AccessPassword - The access password.
Returns:
An array of bytes representing the data read from the tag
Throws:
CAENRFIDException

WriteTagData

public void WriteTagData(CAENRFIDTag Tag,
                         short Address,
                         short Length,
                         byte[] Data)
                  throws CAENRFIDException
Write into the Tag's memory (only ISO18000_6b)

Parameters:
Tag - The CAENRFIDTag representing the Tag to be written
Address - The starting Tag's Address
Length - The numbr of byte to be written
Data - The data to write into the Tag's memory
Throws:
CAENRFIDException - If reader raises an error

WriteTagData_EPC_C1G2

public void WriteTagData_EPC_C1G2(CAENRFIDTag Tag,
                                  short MemBank,
                                  short Address,
                                  short Length,
                                  byte[] Data)
                           throws CAENRFIDException
Write into the EPC C1G2 Tag's memory

Parameters:
Tag - The CAENRFIDTag representing the Tag to be written
MemBank - The Memory Bank to write
Address - The starting Tag's Address
Length - The numbr of byte to be written
Data - The data to write into the Tag's memory
Throws:
CAENRFIDException - If reader raises an error

WriteTagData_EPC_C1G2

public void WriteTagData_EPC_C1G2(CAENRFIDTag Tag,
                                  short MemBank,
                                  short Address,
                                  short Length,
                                  byte[] Data,
                                  int AccessPassword)
                           throws CAENRFIDException
Write into the EPC C1G2 Tag's memory in Secure Mode

Parameters:
Tag - The CAENRFIDTag representing the Tag to be written
MemBank - The Memory Bank to write
Address - The starting Tag's Address
Length - The number of byte to be written
Data - The data to write into the Tag's memory
AccessPassword - The Secure password.
Throws:
CAENRFIDException - If reader raises an error

WriteTagData_EPC_C1G2

public void WriteTagData_EPC_C1G2(short BankMask,
                                  short PositionMask,
                                  short LengthMask,
                                  byte[] Mask,
                                  short MemBank,
                                  short Address,
                                  short Length,
                                  byte[] Data)
                           throws CAENRFIDException
Write EPC C1G2 Tag's memory

Parameters:
BankMask - Memory bank for tag identificantion
PositionMask - A value representing the first bit of BankMask where the match will start.
LengthMask - A value representing the bit-oriented length of the bitmask.
Mask - A byte array representing the bitmask to apply.
MemBank - The Memory Bank to read
Address - The starting Tag's Address
Length - The number of byte to be written
Data - The data to write into the Tag's memory
Throws:
CAENRFIDException - If reader raises an error

WriteTagData_EPC_C1G2

public void WriteTagData_EPC_C1G2(short BankMask,
                                  short PositionMask,
                                  short LengthMask,
                                  byte[] Mask,
                                  short MemBank,
                                  short Address,
                                  short Length,
                                  byte[] Data,
                                  int AccessPassword)
                           throws CAENRFIDException
Write EPC C1G2 Tag's memory

Parameters:
BankMask - Memory bank for tag identificantion
PositionMask - A value representing the first bit of BankMask where the match will start.
LengthMask - A value representing the bit-oriented length of the bitmask.
Mask - A byte array representing the bitmask to apply.
MemBank - The Memory Bank to read
Address - The starting Tag's Address
Length - The number of byte to be written
Data - The data to write into the Tag's memory
AccessPassword - The Secure password.
Throws:
CAENRFIDException - If reader raises an error

BlockWriteTagData

public void BlockWriteTagData(CAENRFIDTag Tag,
                              short Address,
                              short Length,
                              byte[] Data)
                       throws CAENRFIDException
Write into the Tag's memory (for byte at a time) (only ISO18000_6b) This method doesen't work with semi-pasive tags.

Parameters:
Tag - The CAENRFIDTag representing the Tag to be written
Address - The starting Tag's Address
Length - The numbr of byte to be written
Data - The data to write into the Tag's memory
Throws:
CAENRFIDException - If reader raises an error

BlockWriteTagData

public void BlockWriteTagData(CAENRFIDTag Tag,
                              short Address,
                              short mask,
                              short Length,
                              byte[] Data)
                       throws CAENRFIDException
Write into the Tag's memory (for byte at a time) (only ISO18000_6b) This method doesen't work with semi-pasive tags.

Parameters:
Tag - The CAENRFIDTag representing the Tag to be written
Address - The starting Tag's Address
mask - The mask to choose which of 4 byte should be written (i.e. mask of 0x05 write byte on position Address + 1 and Address + 3)
Length - The numbr of byte to be written
Data - The data to write into the Tag's memory
Throws:
CAENRFIDException - If reader raises an error

LockTag_ISO180006B

public void LockTag_ISO180006B(CAENRFIDTag Tag,
                               short Address)
                        throws CAENRFIDException
Lock a EPC C1G1 Tag's memory.

Parameters:
Tag - The CAENRFIDTag representing the Tag to be locked
Address - the Tag's Address to be locked
Throws:
CAENRFIDException - If reader raises an error

ProgramID_EPC119

public void ProgramID_EPC119(CAENRFIDTag Tag,
                             byte[] NewID)
                      throws CAENRFIDException
Write the ID into the EPC_1.19 Tag

Parameters:
Tag - The CAENRFIDTag representing the Tag to be modified
NewID - the byte representing the new ID for the Tag.
Throws:
CAENRFIDException - If reader raises an error

ProgramID_EPC_C1G1

public void ProgramID_EPC_C1G1(CAENRFIDTag Tag,
                               short Password,
                               boolean Lock)
                        throws CAENRFIDException
Write the ID into the EPC_C1G1 Tag

Parameters:
Tag - The CAENRFIDTag representing the Tag to be written
Password - the byte representing the password for the Tag
Lock - true if the Tag should be locked
Throws:
CAENRFIDException - If reader raises an error

ProgramID_EPC_C1G2

public void ProgramID_EPC_C1G2(CAENRFIDTag Tag,
                               short NSI)
                        throws CAENRFIDException
Write the ID into the EPC_C1G2 Tag

Parameters:
Tag - The CAENRFIDTag representing the Tag to be written
NSI - The Numbering System Identifier as defined in EPC C1G2 Protocol specifications.
Throws:
CAENRFIDException - If reader raises an error

KillTag_EPC_C1G1

public void KillTag_EPC_C1G1(CAENRFIDTag Tag,
                             short Password)
                      throws CAENRFIDException
Kill the EPC_C1G1 Tag.

Parameters:
Tag - The CAENRFIDTag representing the Tag to be killed
Password - The Tag's password.
Throws:
CAENRFIDException - If reader raises an error

KillTag_EPC_C1G2

public void KillTag_EPC_C1G2(CAENRFIDTag Tag,
                             int Password)
                      throws CAENRFIDException
Kill the EPC_C1G2 Tag.

Parameters:
Tag - The CAENRFIDTag representing the Tag to be killed
Password - The Tag's password.
Throws:
CAENRFIDException - If reader raises an error

KillTag_EPC_C1G2

public void KillTag_EPC_C1G2(short BankMask,
                             short PositionMask,
                             short LengthMask,
                             byte[] Mask,
                             int Password)
                      throws CAENRFIDException
Kill the EPC_C1G2 Tag

Parameters:
BankMask - Memory bank for tag identificantion
PositionMask - A value representing the first bit of BankMask where the match will start.
LengthMask - A value representing the bit-oriented length of the bitmask.
Mask - A byte array representing the bitmask to apply.
AccessPassword - The tag's kill password.
Throws:
CAENRFIDException

QueryAck_EPC_C1G2

public byte[] QueryAck_EPC_C1G2()
                         throws CAENRFIDException
Query for detect the single Tag under the RF field.

Returns:
The ID of the Tag
Throws:
CAENRFIDException - If reader raises an error

ProgramID_EPC_C1G2

public void ProgramID_EPC_C1G2(CAENRFIDTag Tag,
                               short NSI,
                               int AccessPassword)
                        throws CAENRFIDException
Write the ID into the EPC_C1G2 Tag in Secure Mode

Parameters:
Tag - The CAENRFIDTag representing the Tag to be written
NSI - The Numbering System Identifier as defined in EPC C1G2 Protocol specifications.
AccessPassword - The Secure password.
Throws:
CAENRFIDException - If reader raises an error

LockTag_EPC_C1G2

public void LockTag_EPC_C1G2(CAENRFIDTag Tag,
                             int Payload)
                      throws CAENRFIDException
Lock a EPC C1G2 Tag's memory.

Parameters:
Tag - The CAENRFIDTag representing the Tag to be locked
Payload - The Payload of the Tag.
Throws:
CAENRFIDException - If reader raises an error

LockTag_EPC_C1G2

public void LockTag_EPC_C1G2(CAENRFIDTag Tag,
                             int Payload,
                             int AccessPassword)
                      throws CAENRFIDException
Lock a EPC C1G2 Tag's memory in Secure Mode.

Parameters:
Tag - The CAENRFIDTag representing the Tag to be locked
Payload - The Payload of the Tag.
AccessPassword - The Secure password.
Throws:
CAENRFIDException - If reader raises an error

LockTag_EPC_C1G2

public void LockTag_EPC_C1G2(short BankMask,
                             short PositionMask,
                             short LengthMask,
                             byte[] Mask,
                             int Payload)
                      throws CAENRFIDException
Lock a EPC C1G2 Tag's memory in Secure Mode.

Parameters:
BankMask - Memory bank for tag identificantion
PositionMask - A value representing the first bit of BankMask where the match will start.
LengthMask - A value representing the bit-oriented length of the bitmask.
Mask - A byte array representing the bitmask to apply.
Payload - The Payload of the Tag.
Throws:
CAENRFIDException

LockTag_EPC_C1G2

public void LockTag_EPC_C1G2(short BankMask,
                             short PositionMask,
                             short LengthMask,
                             byte[] Mask,
                             int Payload,
                             int AccessPassword)
                      throws CAENRFIDException
Lock a EPC C1G2 Tag's memory in Secure Mode.

Parameters:
BankMask - Memory bank for tag identificantion
PositionMask - A value representing the first bit of BankMask where the match will start.
LengthMask - A value representing the bit-oriented length of the bitmask.
Mask - A byte array representing the bitmask to apply.
Payload - The Payload of the Tag.
AccessPassword - The access password.
Throws:
CAENRFIDException

Query_EPC_C1G2

public boolean Query_EPC_C1G2()
                       throws CAENRFIDException
Query for detect a EPC C1G2 Tag.

Returns:
true if a Tag is detected
Throws:
CAENRFIDException - If reader raises an error

SetQ_EPC_C1G2

public void SetQ_EPC_C1G2(int Value)
                   throws CAENRFIDException
Set the Q value for the C1G2 Protocol of the Source

Parameters:
Value - The Q value
Throws:
CAENRFIDException - If reader raises an error

GetQ_EPC_C1G2

public int GetQ_EPC_C1G2()
                  throws CAENRFIDException
Get the current Q Value for the C1G2 Protocol of the Source

Returns:
The current Q value
Throws:
CAENRFIDException - If reader raises an error

SetSession_EPC_C1G2

public void SetSession_EPC_C1G2(CAENRFIDLogicalSourceConstants Value)
                         throws CAENRFIDException
Set the Section value for the C1G2 Protocol of the Source

Parameters:
Value - The Section value
Throws:
CAENRFIDException - If reader raises an error

GetSession_EPC_C1G2

public CAENRFIDLogicalSourceConstants GetSession_EPC_C1G2()
                                                   throws CAENRFIDException
Get the current Section value for the C1G2 Protocol of the Source

Returns:
The current Section value
Throws:
CAENRFIDException - If reader raises an error

SetTarget_EPC_C1G2

public void SetTarget_EPC_C1G2(CAENRFIDLogicalSourceConstants Value)
                        throws CAENRFIDException
Set the Target value for the C1G2 Protocol of the Source

Parameters:
Value - The Target value
Throws:
CAENRFIDException - If reader raises an error

GetTarget_EPC_C1G2

public CAENRFIDLogicalSourceConstants GetTarget_EPC_C1G2()
                                                  throws CAENRFIDException
Get the current Target value for the C1G2 Protocol of the Source

Returns:
The current Target value
Throws:
CAENRFIDException - If reader raises an error

SetSelected_EPC_C1G2

public void SetSelected_EPC_C1G2(CAENRFIDLogicalSourceConstants Value)
                          throws CAENRFIDException
Set the Selected value for the C1G2 Protocol of the Source

Parameters:
Value - The Selected value
Throws:
CAENRFIDException - If reader raises an error

GetSelected_EPC_C1G2

public CAENRFIDLogicalSourceConstants GetSelected_EPC_C1G2()
                                                    throws CAENRFIDException
Get the current Selected value for the C1G2 Protocol of the Source

Returns:
The current Selected value
Throws:
CAENRFIDException - If reader raises an error

SetDESB_ISO180006B

public void SetDESB_ISO180006B(CAENRFIDLogicalSourceConstants Value)
                        throws CAENRFIDException
Set the DESB value for the ISO180006_B Protocol of the Source

Parameters:
Value - The BESB value
Throws:
CAENRFIDException - If reader raises an error

GetDESB_ISO180006B

public CAENRFIDLogicalSourceConstants GetDESB_ISO180006B()
                                                  throws CAENRFIDException
Get the current DESB value for the C1G2 Protocol of the Source

Returns:
The current DESB value
Throws:
CAENRFIDException - If reader raises an error

ResetSession_EPC_C1G2

public void ResetSession_EPC_C1G2()
                           throws CAENRFIDException
Reset the Session for the EPC C1G2 Tags.

Throws:
CAENRFIDException - If reader raises an error

CustomCommand_EPC_C1G2

public byte[] CustomCommand_EPC_C1G2(CAENRFIDTag Tag,
                                     byte SubCmd,
                                     short TXLen,
                                     byte[] Data,
                                     short RXLen)
                              throws CAENRFIDException
Sends an EPC C1G2 Custom Command

Parameters:
Tag - The CAENRFIDTag representing the Tag to use
SubCmd - The Sub Command to send
Length - The length of the data to be sent to the Tag
Data - The data to be sent to the Tag
TRLength - The length of the data to receive
Returns:
The data returned by the Tag.
Throws:
CAENRFIDException - If reader raises an error

CustomCommand_EPC_C1G2

public byte[] CustomCommand_EPC_C1G2(CAENRFIDTag Tag,
                                     byte SubCmd,
                                     short TXLen,
                                     byte[] Data,
                                     short RXLen,
                                     int AccessPassword)
                              throws CAENRFIDException
Sends an EPC C1G2 Custom Command in Secure Mode.

Parameters:
Tag - The CAENRFIDTag representing the Tag to use
SubCmd - The Sub Command to send
Length - The length of the data to be sent to the Tag
Data - The data to be sent to the Tag
TRLength - The length of the data to receive
AccessPassword - The Secure password.
Returns:
The data returned by the Tag.
Throws:
CAENRFIDException - If reader raises an error

NXP_ReadProtect

public void NXP_ReadProtect(CAENRFIDTag Tag)
                     throws CAENRFIDException
Sends the NXP Calibrate custom command

Throws:
CAENRFIDException

NXP_ReadProtect

public void NXP_ReadProtect(CAENRFIDTag Tag,
                            int AccessPassword)
                     throws CAENRFIDException
Sends the NXP ReadProtect custom command

Throws:
CAENRFIDException

NXP_ResetReadProtect

@Deprecated
public void NXP_ResetReadProtect(CAENRFIDTag Tag,
                                            int Password)
                          throws CAENRFIDException
Deprecated. 

Sends the NXP ResetReadProtect custom command

Throws:
CAENRFIDException

NXP_ResetReadProtect

public void NXP_ResetReadProtect(CAENRFIDTag Tag,
                                 int Password,
                                 int AccessPassword)
                          throws CAENRFIDException
Sends the NXP ResetReadProtect custom command

Throws:
CAENRFIDException

NXP_ChangeEAS

@Deprecated
public void NXP_ChangeEAS(CAENRFIDTag Tag,
                                     boolean EAS)
                   throws CAENRFIDException
Deprecated. 

Sends the NXP Change EAS custom command

Throws:
CAENRFIDException

NXP_ChangeEAS

public void NXP_ChangeEAS(CAENRFIDTag Tag,
                          boolean EAS,
                          int AccessPassword)
                   throws CAENRFIDException
Sends the NXP Change EAS custom command

Throws:
CAENRFIDException

NXP_EAS_Alarm

public byte[] NXP_EAS_Alarm()
                     throws CAENRFIDException
Sends the NXP EAS Alarm custom command

Throws:
CAENRFIDException

NXP_EAS_Alarm

@Deprecated
public byte[] NXP_EAS_Alarm(CAENRFIDTag Tag,
                                       int AccessPassword)
                     throws CAENRFIDException
Deprecated. 

Sends the NXP EAS Alarm custom command

Throws:
CAENRFIDException

NXP_Calibrate

@Deprecated
public void NXP_Calibrate(CAENRFIDTag Tag)
                   throws CAENRFIDException
Deprecated. 

Sends the NXP Calibrate custom command

Throws:
CAENRFIDException

NXP_Calibrate

public void NXP_Calibrate(CAENRFIDTag Tag,
                          int AccessPassword)
                   throws CAENRFIDException
Sends the NXP Calibrate custom command

Throws:
CAENRFIDException

NXP_ChangeConfig

public void NXP_ChangeConfig(CAENRFIDTag Tag,
                             short ConfigWord)
                      throws CAENRFIDException
This method can be used to issue a NXP_ChangeConfig custom command as defined in the NXP UCODE G2iM and G2iM+ datasheet.

Parameters:
Tag - The CAENRFIDTag representing the Tag to be written
ConfigWord - The configuration word.
Throws:
CAENRFIDException - If reader raises an error

NXP_ChangeConfig

public void NXP_ChangeConfig(CAENRFIDTag Tag,
                             short ConfigWord,
                             int Password)
                      throws CAENRFIDException
This method can be used to issue a NXP_ChangeConfig custom command as defined in the NXP UCODE G2iM and G2iM+ datasheet.

Parameters:
Tag - The CAENRFIDTag representing the Tag to be written
ConfigWord - The configuration word.
Password - The access password.
Throws:
CAENRFIDException - If reader raises an error

Hitachi_ReadLock

public void Hitachi_ReadLock(CAENRFIDTag Tag,
                             short Payload)
                      throws CAENRFIDException
Sends the Hitachi ReadLock custom command

Throws:
CAENRFIDException

Hitachi_ReadLock

public void Hitachi_ReadLock(CAENRFIDTag Tag,
                             short Payload,
                             int AccessPassword)
                      throws CAENRFIDException
Sends the Hitachi ReadLock custom command

Throws:
CAENRFIDException

Hitachi_WriteMultipleWords

public void Hitachi_WriteMultipleWords(CAENRFIDTag Tag,
                                       short MemBank,
                                       short Address,
                                       byte Length,
                                       byte[] Data)
                                throws CAENRFIDException
Sends the Hitachi WriteMultipleWord custom command

Throws:
CAENRFIDException

Hitachi_WriteMultipleWords

public void Hitachi_WriteMultipleWords(CAENRFIDTag Tag,
                                       short MemBank,
                                       short WordPtr,
                                       byte WordCount,
                                       byte[] MaskData,
                                       int AccessPassword)
                                throws CAENRFIDException
Sends the Hitachi WriteMultipleWord custom command

Throws:
CAENRFIDException

Hitachi_BlockLock

public void Hitachi_BlockLock(CAENRFIDTag Tag,
                              byte BlockNum,
                              int UserPassword,
                              byte PayLoad)
                       throws CAENRFIDException
Sends the Hitachi BlockLock custom command

Throws:
CAENRFIDException

Hitachi_BlockLock

public void Hitachi_BlockLock(CAENRFIDTag Tag,
                              byte BlockNum,
                              int UserPassword,
                              byte PayLoad,
                              int AccessPassword)
                       throws CAENRFIDException
Sends the Hitachi BlockLock custom command

Throws:
CAENRFIDException

Hitachi_BlockReadLock

public void Hitachi_BlockReadLock(CAENRFIDTag Tag,
                                  byte BlockNum,
                                  int UserPassword,
                                  byte PayLoad)
                           throws CAENRFIDException
Sends the Hitachi BlockReadLock custom command

Throws:
CAENRFIDException

Hitachi_BlockReadLock

public void Hitachi_BlockReadLock(CAENRFIDTag Tag,
                                  byte BlockNum,
                                  int UserPassword,
                                  byte PayLoad,
                                  int AccessPassword)
                           throws CAENRFIDException
Sends the Hitachi BlockReadLock custom command

Throws:
CAENRFIDException

Hitachi_GetSystemInfo

@Deprecated
public HitachiSysInfo Hitachi_GetSystemInfo(CAENRFIDTag Tag)
                                     throws CAENRFIDException
Deprecated. 

Sends the Hitachi GetSystemInfo custom command

Throws:
CAENRFIDException

Hitachi_GetSystemInfo

public HitachiSysInfo Hitachi_GetSystemInfo(CAENRFIDTag Tag,
                                            int AccessPassword)
                                     throws CAENRFIDException
Sends the Hitachi GetSystemInfo custom command

Throws:
CAENRFIDException

Hitachi_SetAttenuate

public void Hitachi_SetAttenuate(CAENRFIDTag Tag,
                                 byte Level,
                                 boolean LevelLock)
                          throws CAENRFIDException
Sends the Hitachi SetAttenuate custom command

Throws:
CAENRFIDException

Hitachi_SetAttenuate

public void Hitachi_SetAttenuate(CAENRFIDTag Tag,
                                 byte Level,
                                 boolean LevelLock,
                                 int AccessPassword)
                          throws CAENRFIDException
Sends the Hitachi SetAttenuate custom command

Throws:
CAENRFIDException

Fujitsu_Refresh

public void Fujitsu_Refresh(CAENRFIDTag Tag,
                            byte option)
                     throws CAENRFIDException
Sends the Fujitsu Refresh custom command

Throws:
CAENRFIDException

Fujitsu_Refresh

public void Fujitsu_Refresh(CAENRFIDTag Tag,
                            byte Option,
                            int AccessPassword)
                     throws CAENRFIDException
Sends the Fujitsu Refresh custom command

Throws:
CAENRFIDException

Fujitsu_ChgWordLock

public void Fujitsu_ChgWordLock(CAENRFIDTag Tag,
                                byte MemBank,
                                short WordPtr,
                                byte Payload,
                                int UserPassword)
                         throws CAENRFIDException
Sends the Fujitsu ChgWordLock custom command

Throws:
CAENRFIDException

Fujitsu_ChgWordLock

public void Fujitsu_ChgWordLock(CAENRFIDTag Tag,
                                byte MemBank,
                                short WordPtr,
                                byte Payload,
                                int UserPassword,
                                int AccessPassword)
                         throws CAENRFIDException
Sends the Fujitsu ChgWordLock custom command

Throws:
CAENRFIDException

Fujitsu_ChgBlockLock

public void Fujitsu_ChgBlockLock(CAENRFIDTag Tag,
                                 byte BlockGroupPtr,
                                 int Payload,
                                 int UserPassword)
                          throws CAENRFIDException
Sends the Fujitsu ChgBlockLock custom command

Throws:
CAENRFIDException

Fujitsu_ChgBlockLock

public void Fujitsu_ChgBlockLock(CAENRFIDTag Tag,
                                 byte BlockGroupPtr,
                                 int Payload,
                                 int UserPassword,
                                 int AccessPassword)
                          throws CAENRFIDException
Sends the Fujitsu ChgBlockLock custom command

Throws:
CAENRFIDException

Fujitsu_ReadBlockLock

public byte[] Fujitsu_ReadBlockLock(CAENRFIDTag Tag,
                                    byte BlockGroupPtr)
                             throws CAENRFIDException
Sends the Fujitsu ReadBlockLock custom command

Throws:
CAENRFIDException

Fujitsu_ReadBlockLock

public byte[] Fujitsu_ReadBlockLock(CAENRFIDTag Tag,
                                    byte BlockGroupPtr,
                                    int AccessPassword)
                             throws CAENRFIDException
Sends the Fujitsu ReadBlockLock custom command

Throws:
CAENRFIDException

Fujitsu_ChgBlockGroupPassword

public void Fujitsu_ChgBlockGroupPassword(CAENRFIDTag Tag,
                                          byte BlockGroupPtr,
                                          int NewPassword,
                                          int OldPassword)
                                   throws CAENRFIDException
Sends the Fujitsu ChgBlockGroupPassword custom command

Throws:
CAENRFIDException

Fujitsu_ChgBlockGroupPassword

public void Fujitsu_ChgBlockGroupPassword(CAENRFIDTag Tag,
                                          byte BlockGroupPtr,
                                          int NewPassword,
                                          int OldPassword,
                                          int AccessPassword)
                                   throws CAENRFIDException
Sends the Fujitsu ChgBlockGroupPassword custom command

Throws:
CAENRFIDException

Fujitsu_BurstWrite

public byte Fujitsu_BurstWrite(CAENRFIDTag Tag,
                               byte MemBank,
                               short Address,
                               byte Length,
                               byte[] data)
                        throws CAENRFIDException
Sends the Fujitsu BurstWrite custom command

Throws:
CAENRFIDException

Fujitsu_BurstWrite

public byte Fujitsu_BurstWrite(CAENRFIDTag Tag,
                               byte MemBank,
                               short Address,
                               byte Length,
                               byte[] Data,
                               int AccessPassword)
                        throws CAENRFIDException
Sends the Fujitsu BurstWrite custom command

Throws:
CAENRFIDException

Fujitsu_BurstErase

public byte Fujitsu_BurstErase(CAENRFIDTag Tag,
                               byte MemBank,
                               short Address,
                               byte Length)
                        throws CAENRFIDException
Sends the Fujitsu BurstErase custom command

Throws:
CAENRFIDException

Fujitsu_BurstErase

public byte Fujitsu_BurstErase(CAENRFIDTag Tag,
                               byte MemBank,
                               short Address,
                               byte Length,
                               int AccessPassword)
                        throws CAENRFIDException
Sends the Fujitsu BurstErase custom command

Throws:
CAENRFIDException

GroupSelUnsel

public CAENRFIDTag GroupSelUnsel(CAENRFIDSelUnselOptions Code,
                                 short Address,
                                 short BitMask,
                                 byte[] Data)
                          throws CAENRFIDException
Send a Group SelectUnselect command to the reader

Parameters:
code - The operation code
Address - The Address from which start the comparison
BitMask - The Bit Mask to use
Data - The data to be cempared
Returns:
the CAENRFIDTag detected.
Throws:
CAENRFIDException

addCAENRFIDEventListener

public void addCAENRFIDEventListener(CAENRFIDEventListener listener)
Adds the specified CAENRFID Event listener to receive event events from this CAENRIFDReceiver.

Parameters:
listener - the action listener

removeCAENRFIDEventListener

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

Parameters:
listener - the action listener