Package com.caen.RFIDLibrary
Class CAENRFIDReader
- java.lang.Object
-
- com.caen.RFIDLibrary.CAENRFIDReader
-
public final class CAENRFIDReader extends Object
This class defines the CAEN RFID Reader.- Version:
- CAENRFIDLibrary 5.0.0
- Author:
- Andrea Iavazzo (support@caenrfid.com) CAEN RFID Srl Computing Division
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classCAENRFIDReader.AbortContinuosListenerstatic classCAENRFIDReader.CAENRFIDR1175OReaderConstants
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CAENRFIDReader()Create a new CAEN RFID Reader object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void_SetRFOnOff(short OnOff)Deprecated.For debugging purpose only.voidaddCAENRFIDEventListener(CAENRFIDEventListener listener)Adds the specified CAENRFIDEvent listener to receive CAENRFIDEvent events from this CAENRIFDReaderprotected voidAddNotifyTrigger(String Channel, String Trigger)protected voidAddReadPoint(String Source, String Antenna)protected voidAddReadTrigger(String Source, String Trigger)protected voidAddSourceToChannel(String Channel, String Source)protected byte[]Authenticate_EPC_C1G2(String Source, CAENRFIDTag Tag, boolean senRep, boolean incRepLen, char csi, byte[] challenge, short repLen, int password)protected voidBlockProgramID_EPC_C1G2(String Source, CAENRFIDTag Tag, short NSI, short blockLength)protected voidBlockProgramID_EPC_C1G2(String Source, CAENRFIDTag Tag, short NSI, short blockLength, int accessPassword)protected voidBlockWriteTagData(String Source, CAENRFIDTag tag, short address, short mask, short nbyte, byte[] twrite)protected voidBlockWriteTagData_EPC_C1G2(String Source, CAENRFIDTag Tag, short MemBank, short address, short blockLength, short nbyte, byte[] twrite)protected voidBlockWriteTagData_EPC_C1G2(String Source, CAENRFIDTag Tag, short MemBank, short address, short blockLength, short nbyte, byte[] twrite, int accessPassword)protected voidChargeDeviceR1175OReader(CAENRFIDReader.CAENRFIDR1175OReaderConstants ChargeType, short OnOff)This method can be used to enable/disable the charging of the reader to or from a connected device.protected shortCheckChannelInTrigger(String Trigger, String Channel)protected shortCheckSourceInChannel(String Channel, String Source)protected shortCheckSourceInTrigger(String Trigger, String Source)protected shortCheckTriggerInChannel(String Channel, String Trigger)protected voidClearBuffer(String Source)voidConnect(CAENRFIDPort ConType, String Address)Start the communication with the CAEN RFID Reader.protected byte[]CustomCMD_EPC_C1G2(String Source, CAENRFIDTag Tag, byte SubCmd, short Length, byte[] Data, short TRLength)protected byte[]CustomCMD_EPC_C1G2(String Source, CAENRFIDTag Tag, byte SubCmd, short Length, byte[] Data, short TRLength, int SecurePassword)voidDisconnect()Close the connection with the CAEN RFID Reader releasing all the allocated resourcesvoidDoLogin(int Password)Grants administrator reader's permission to the user.voidDoLogout()Revokes all reader's administrator permissions to the user.protected EM4325TagDataEM4325_GetSensorData(String Source, CAENRFIDTag Tag, boolean UIDEnable, boolean NewSample)protected byte[]EM4325_GetUID(String Source, CAENRFIDTag Tag)protected byte[]EM4325_GetUID(String Source, CAENRFIDTag Tag, int password)protected voidEM4325_ResetAlarms(String Source, CAENRFIDTag Tag, int SecurePassword)protected byte[]EM4325_SendSPI(String Source, CAENRFIDTag Tag, byte SPIConfig, byte[] SPICmd, int SlaveSPILength)protected byte[]EM4325_SendSPI(String Source, CAENRFIDTag Tag, byte SPIConfig, byte[] SPICmd, int SlaveSPILength, int SecurePassword)protected booleanEventInventoryTag(String Source, byte[] Mask, short MaskLength, short position, short flag)protected booleanEventInventoryTag(String Source, byte[] Mask, short MaskLength, short position, short flag, InventorySubCommand inventorySubCommand)booleanForceAbort(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 byteFujitsu_BurstErase(String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte)protected byteFujitsu_BurstErase(String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte, int SecurePassword)protected byteFujitsu_BurstWrite(String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte, byte[] data)protected byteFujitsu_BurstWrite(String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte, byte[] data, int SecurePassword)protected voidFujitsu_ChgBlockGroupPassword(String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int NewPassword, int CurrentPassword)protected voidFujitsu_ChgBlockGroupPassword(String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int NewPassword, int CurrentPassword, int SecurePassword)protected voidFujitsu_ChgBlockLock(String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int Payload, int UserPassword)protected voidFujitsu_ChgBlockLock(String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int Payload, int UserPassword, int SecurePassword)protected voidFujitsu_ChgWordLock(String Source, CAENRFIDTag Tag, byte MemBank, short WordPtr, byte Payload, int UserPassword)protected voidFujitsu_ChgWordLock(String Source, CAENRFIDTag Tag, byte MemBank, short WordPtr, byte Payload, int UserPassword, int SecurePassword)protected byte[]Fujitsu_ReadBlockLock(String Source, CAENRFIDTag Tag, byte BlockGroupPtr)protected byte[]Fujitsu_ReadBlockLock(String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int SecurePassword)protected voidFujitsu_Refresh(String Source, CAENRFIDTag Tag, byte option)protected voidFujitsu_Refresh(String Source, CAENRFIDTag Tag, byte option, int SecurePassword)voidFWUpgradeTFTP(String server, String filename)Deprecated.protected booleangetAbortStatus()intGetBatteryLevel()Returns the reader's battery charge level.CAENRFIDBitRateGetBitRate()Get the current setting of RF BitRate.protected CAENRFIDTag[]GetBufferedData(String Source)protected CAENRFIDTag[]GetBufferedData(String Source, int address, int length)protected intGetBufferSize(String Source)protected shortGetChannelStatus(String Channel)shortGetFHSS()Gets the current FHSS mode setting.StringGetFirmwareRelease()Permits to read the firmware release loaded into the device.StringGetFirmwareRelease(short level)Permits to read the firmware release loaded into the device, or one of it's internal module.intGetIO()Get the current digital Input and Output lines value.intGetIODirection()Get the current digital Input and Output direction lines value.shortGetLBTMode()Deprecated.protected booleangetLoopStatus()CAENRFIDNetworkInfoGetNetwork()Gets the IP v4 network settings of the reader (if supported).intGetPower()Get the current setting of RF power.CAENRFIDProtocolGetProtocol()Get the current air protocol of the ReaderCAENRFIDReaderInfoGetReaderInfo()Permits to read the ReaderInfo loaded into the device.CAENRFIDReaderInfoGetReaderInfo(short level)Permits to read the model and the serial number of the reader, or one of it's internal module.protected shortGetReadPointInSource(String Source, String Antenna)intGetReadPointPower(String readPoint)Get the conducted power in mW set on antenna identified by readPoint.String[]GetReadPoints()Get the ReadPoints available in the ReaderCAENRFIDReadPointStatusGetReadPointStatus(String ReadPoint)Get the CAENRFIDReadPointStatus object rapresenting the status of a ReadPoint.shortGetRFChannel()Gets the RF ChannelCAENRFIDRFRegulationsGetRFRegulation()Gets RF regulation valueCAENRFIDLogicalSourceGetSource(String Source)Get a Source objectprotected intGetSourceConfiguration(String Source, int ParType)static String[]GetSourceNames()Get the Sources available in the ReaderCAENRFIDLogicalSource[]GetSources()Get the Sources available on the readerprotected CAENRFIDTagGroupSelUnsel(String Source, CAENRFIDSelUnselOptions code, short Address, short BitMask, byte[] Data)protected voidHitachi_BlockLock(String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad)protected voidHitachi_BlockLock(String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad, int SecurePassword)protected voidHitachi_BlockReadLock(String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad)protected voidHitachi_BlockReadLock(String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad, int SecurePassword)protected byte[]Hitachi_GetSystemInfo(String Source, CAENRFIDTag Tag)protected byte[]Hitachi_GetSystemInfo(String Source, CAENRFIDTag Tag, int SecurePassword)protected voidHitachi_ReadLock(String Source, CAENRFIDTag Tag, short Payload)protected voidHitachi_ReadLock(String Source, CAENRFIDTag Tag, short Payload, int SecurePassword)protected voidHitachi_SetAttenuate(String Source, CAENRFIDTag Tag, byte level, boolean lock)protected voidHitachi_SetAttenuate(String Source, CAENRFIDTag Tag, byte level, boolean lock, int SecurePassword)protected voidHitachi_WriteMultipleWords(String Source, CAENRFIDTag Tag, short MemBank, short WordPtr, byte WordCount, byte[] MaskData)protected voidHitachi_WriteMultipleWords(String Source, CAENRFIDTag Tag, short MemBank, short WordPtr, byte WordCount, byte[] MaskData, int SecurePassword)protected voidIDS_SL900A_EndLog(String Source, CAENRFIDTag Tag)protected byte[]IDS_SL900A_GetBatteryLevel(String Source, CAENRFIDTag Tag, boolean BatteryTypeReCheck)protected byte[]IDS_SL900A_GetCalibrationData(String Source, CAENRFIDTag Tag)protected byte[]IDS_SL900A_GetLogState(String Source, CAENRFIDTag Tag, boolean ShelfLife)protected byte[]IDS_SL900A_GetMeasurementSetup(String Source, CAENRFIDTag Tag)protected byte[]IDS_SL900A_GetSensorValue(String Source, CAENRFIDTag Tag, byte SensorType)protected voidIDS_SL900A_Initialize(String Source, CAENRFIDTag Tag, short DelayTime, short ApplicationData)protected voidIDS_SL900A_OpenArea(String Source, CAENRFIDTag Tag, byte PasswordLevel, int Password)protected voidIDS_SL900A_SetLog(String Source, CAENRFIDTag Tag, int LogMode)protected voidIDS_SL900A_SetLogLimits(String Source, CAENRFIDTag Tag, byte[] LogLimits)protected voidIDS_SL900A_SetPassword(String Source, CAENRFIDTag Tag, byte PasswordLevel, int Password)protected voidIDS_SL900A_StartLog(String Source, CAENRFIDTag Tag, int StartTime)protected CAENRFIDTag[]Inventory(String Source)voidInventoryAbort()Stops the InventoryTag when executed in Continuous Modeprotected CAENRFIDTag[]InventoryTag(String Source)protected CAENRFIDTag[]InventoryTag(String Source, byte[] Mask, short MaskLength, short position, short flag)protected CAENRFIDTag[]InventoryTag(String Source, byte[] Mask, short MaskLength, short position, short flag, InventorySubCommand inventorySubCommand)protected CAENRFIDTag[]InventoryTag(String Source, short bank, byte[] Mask, short MaskLength, short Position, short flag)protected CAENRFIDTag[]InventoryTag(String Source, short bank, byte[] Mask, short MaskLength, short Position, short flag, InventorySubCommand inventorySubCommand)protected CAENRFIDTag[]InventoryTag(String Source, InventorySubCommand inventorySubCommand)protected voidISO180006C_BroadcastSync(byte[] UTC)protected voidKillTag_EPC_C1G1(String Source, CAENRFIDTag tag, short passwd)protected voidKillTag_EPC_C1G2(String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, int AccessPassword)protected voidKillTag_EPC_C1G2(String Source, CAENRFIDTag tag, int password)protected voidLockBlockPermalock_EPC_C1G2(String Source, CAENRFIDTag Tag, short MemBank, short BlockPtr, short BlockRange, byte[] Mask, int AccessPassword)protected voidLockTag(String Source, CAENRFIDTag tag, short address)protected voidLockTag_EPC_C1G2(String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, int Payload)protected voidLockTag_EPC_C1G2(String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, int Payload, int AccessPassword)protected voidLockTag_EPC_C1G2(String Source, CAENRFIDTag tag, int payload)protected voidLockTag_EPC_C1G2(String Source, CAENRFIDTag tag, int payload, int SecurePassword)floatMatchReadPointImpedance(String ReadPoint)MatchReadPointImpedance matches the antenna impedance passed in ReadPoint.floatMatchReadPointImpedance(String ReadPoint, CAENRFIDMatchingParams MatchParam, short MatchParamValue)MatchReadPointImpedance matches the antenna impedance passed in ReadPoint.protected voidNXP_Calibrate(String Source, CAENRFIDTag Tag)protected voidNXP_Calibrate(String Source, CAENRFIDTag Tag, int SecurePassword)protected voidNXP_ChangeConfig(String Source, CAENRFIDTag Tag, short ConfigWord)protected voidNXP_ChangeConfig(String Source, CAENRFIDTag Tag, short ConfigWord, int SecurePassword)protected voidNXP_ChangeEAS(String Source, CAENRFIDTag Tag, boolean EAS)protected voidNXP_ChangeEAS(String Source, CAENRFIDTag Tag, boolean EAS, int SecurePassword)protected byte[]NXP_EAS_Alarm(String Source, CAENRFIDTag Tag)protected byte[]NXP_EAS_Alarm(String Source, CAENRFIDTag Tag, int SecurePassword)protected voidNXP_EnableBrandIdentifier(String Source, boolean Enable)protected CAENRFIDTag_NXP_UCODE8[]NXP_InventoryWithBrandIdentifier(String Source)protected voidNXP_ReadProtect(String Source, CAENRFIDTag Tag)protected voidNXP_ReadProtect(String Source, CAENRFIDTag Tag, int SecurePassword)protected voidNXP_ResetReadProtect(String Source, CAENRFIDTag Tag, int Password)protected voidNXP_ResetReadProtect(String Source, CAENRFIDTag Tag, int Password, int SecurePassword)protected shortOridao_Begin(String Source, CAENRFIDTag Tag)protected shortOridao_Begin(String Source, CAENRFIDTag Tag, int SecurePassword)protected byte[]Oridao_Command(String Source, CAENRFIDTag Tag, short handle, short WriteLengthBit, byte[] WriteData, short ReplyLengthBit)protected voidOridao_End(String Source, CAENRFIDTag Tag)voidPrintScreen(String Text, int TerminalType)Print ASCII text on the reader's screen (if available).protected voidProgramID_EPC_C1G1(String Source, CAENRFIDTag tag, short passwd, boolean lock)protected voidProgramID_EPC_C1G2(String Source, CAENRFIDTag tag, short nsi)protected voidProgramID_EPC_C1G2(String Source, CAENRFIDTag tag, short nsi, int SecurePassword)protected voidProgramID_EPC119(String Source, CAENRFIDTag tag, byte[] newID)protected booleanQuery_EPC_C1G2(String Source)protected byte[]QueryAck_EPC_C1G2(String Source)protected byte[]ReadBlockPermalock_EPC_C1G2(String Source, CAENRFIDTag Tag, short MemBank, short BlockPtr, short BlockRange, int AccessPassword)protected byte[]ReadTagData(String Source, CAENRFIDTag tag, short address, short nbyte)protected byte[]ReadTagData_EPC_C1G2(String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length)protected byte[]ReadTagData_EPC_C1G2(String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length, int AccessPassword)protected byte[]ReadTagData_EPC_C1G2(String Source, CAENRFIDTag tag, short membank, short address, short nbyte)protected byte[]ReadTagData_EPC_C1G2(String Source, CAENRFIDTag tag, short membank, short address, short nbyte, int SecurePassword)voidremoveCAENRFIDEventListener(CAENRFIDEventListener listener)Removes the specified CAENRFIDEvent listener so that it no longer receives CAENRFID events from this CAENRIFDReader.protected voidRemoveNotifyTrigger(String Channel, String Trigger)protected voidRemoveReadPoint(String Source, String Antenna)protected voidRemoveReadTrigger(String Source, String Trigger)protected voidRemoveSourceFromChannel(String Channel, String Source)protected voidResetSession(String Source)protected byte[]RFMicron_MAGNUSS2_ReadSensor(String Source, CAENRFIDTag Tag)protected byte[]RFMicron_MAGNUSS3_ReadSensor(String Source, CAENRFIDTag Tag)protected byte[]RFMicron_MAGNUSS3_ReadTemperature(String Source, CAENRFIDTag Tag)protected voidsetAbortStatus(boolean v)voidSetAdminPassword(int Password)Set the admin password of the Reader.voidSetBitRate(CAENRFIDBitRate BitRate)Set the RF BitRate to use.voidSetDateTime(String DateTime)Set the Date/Time of the ReadervoidSetFHSS(short enable)Enable the FHSS (Frequency hopping) for the regulation (if supported).voidSetIO(int IOValue)Set the Output lines valuevoidSetIODIRECTION(int IODirection)Set the Output lines directionvoidSetLBTMode(short LBTMode)Deprecated.protected voidsetLoopStatus(boolean v)voidSetNetwork(String IPAddress, String NetMask, String Gateway)Set the TCP/IP configuration of the Reader.voidSetPower(int power)Set the RF power of the Reader.voidSetProtocol(CAENRFIDProtocol Protocol)Set the air protocol of the ReadervoidSetReaderOPtions(short option)Deprecated.voidSetReadPointPower(String readPoint, int power)Sets the conducted RF power for the provided readPointvoidSetRFChannel(short Channel)Sets the RF ChannelvoidSetRFRegulation(CAENRFIDRFRegulations RFRegulation)Sets the RF regulation valuevoidSetRS232(int baud, int datab, int stopb, CAENRFIDRS232Constants parity, CAENRFIDRS232Constants flowc)Set the RS232 port of the Reader.protected voidSetSourceConfiguration(String Source, int ParType, int ParValue)protected booleantimeoutExceeded(long start_time, long timeout)protected voidUntraceable_EPC_C1G2(String Source, CAENRFIDTag Tag, boolean u, boolean hideEPC, byte hideTID, boolean hideUser, short range, short newEPCLen, int password)protected voidWriteTagData(String Source, CAENRFIDTag tag, short address, short nbyte, byte[] twrite)protected voidWriteTagData_EPC_C1G2(String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length, byte[] Data)protected voidWriteTagData_EPC_C1G2(String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length, byte[] Data, int AccessPassword)protected voidWriteTagData_EPC_C1G2(String Source, CAENRFIDTag tag, short membank, short address, short nbyte, byte[] twrite)protected voidWriteTagData_EPC_C1G2(String Source, CAENRFIDTag tag, short membank, short address, short nbyte, byte[] twrite, int SecurePassword)
-
-
-
Field Detail
-
MAX_ID_LENGTH
protected static final int MAX_ID_LENGTH
- See Also:
- Constant Field Values
-
G2READTAG_COMMAND
protected static final short G2READTAG_COMMAND
- See Also:
- Constant Field Values
-
G2WRITETAG_COMMAND
protected static final short G2WRITETAG_COMMAND
- 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_G2_Q_MIN
protected static final int CONFIG_G2_Q_MIN
- See Also:
- Constant Field Values
-
CONFIG_G2_Q_MAX
protected static final int CONFIG_G2_Q_MAX
- See Also:
- Constant Field Values
-
CONFIG_TID_LENGTH
protected static final int CONFIG_TID_LENGTH
- See Also:
- Constant Field Values
-
CONFIG_QUIETTIME
protected static final int CONFIG_QUIETTIME
- See Also:
- Constant Field Values
-
CONFIG_G2_NUM_MIN_Q
protected static final int CONFIG_G2_NUM_MIN_Q
- See Also:
- Constant Field Values
-
CCODE_Hitachi_readLock
protected static final int CCODE_Hitachi_readLock
- See Also:
- Constant Field Values
-
CCODE_Hitachi_WriteMultipleWords
protected static final int CCODE_Hitachi_WriteMultipleWords
- See Also:
- Constant Field Values
-
CCODE_Hitachi_BlockLock
protected static final int CCODE_Hitachi_BlockLock
- See Also:
- Constant Field Values
-
CCODE_Hitachi_BlockReadLock
protected static final int CCODE_Hitachi_BlockReadLock
- See Also:
- Constant Field Values
-
CCODE_Hitachi_GetSystemInformation
protected static final int CCODE_Hitachi_GetSystemInformation
- See Also:
- Constant Field Values
-
CCODE_Hitachi_SetAttenuate
protected static final int CCODE_Hitachi_SetAttenuate
- See Also:
- Constant Field Values
-
CCODE_Fujitsu_Refresh
protected static final int CCODE_Fujitsu_Refresh
- See Also:
- Constant Field Values
-
CCODE_Fujitsu_ChgWordLock
protected static final int CCODE_Fujitsu_ChgWordLock
- See Also:
- Constant Field Values
-
CCODE_Fujitsu_ChgBlockLock
protected static final int CCODE_Fujitsu_ChgBlockLock
- See Also:
- Constant Field Values
-
CCODE_Fujitsu_ReadBlockLock
protected static final int CCODE_Fujitsu_ReadBlockLock
- See Also:
- Constant Field Values
-
CCODE_Fujitsu_ChgBlockGroupPassword
protected static final int CCODE_Fujitsu_ChgBlockGroupPassword
- See Also:
- Constant Field Values
-
CCODE_Fujitsu_BurstWrite
protected static final int CCODE_Fujitsu_BurstWrite
- See Also:
- Constant Field Values
-
CCODE_Fujitsu_BurstErase
protected static final int CCODE_Fujitsu_BurstErase
- See Also:
- Constant Field Values
-
CCODE_NXP_ReadProtect
protected static final int CCODE_NXP_ReadProtect
- See Also:
- Constant Field Values
-
CCODE_NXP_ResetReadProtect
protected static final int CCODE_NXP_ResetReadProtect
- See Also:
- Constant Field Values
-
CCODE_NXP_ChangeEAS
protected static final int CCODE_NXP_ChangeEAS
- See Also:
- Constant Field Values
-
CCODE_NXP_EAS_Alarm
protected static final int CCODE_NXP_EAS_Alarm
- See Also:
- Constant Field Values
-
CCODE_NXP_Calibrate
protected static final int CCODE_NXP_Calibrate
- See Also:
- Constant Field Values
-
CCODE_NXP_ChangeConfig
protected static final int CCODE_NXP_ChangeConfig
- See Also:
- Constant Field Values
-
CCODE_EM4325_GetUID
protected static final int CCODE_EM4325_GetUID
- See Also:
- Constant Field Values
-
CCODE_EM4325_GetSensorData
protected static final int CCODE_EM4325_GetSensorData
- See Also:
- Constant Field Values
-
CCODE_EM4325_SendSPI
protected static final int CCODE_EM4325_SendSPI
- See Also:
- Constant Field Values
-
CCODE_EM4325_ResetAlarms
protected static final int CCODE_EM4325_ResetAlarms
- See Also:
- Constant Field Values
-
CCODE_ISO180006C_BroadcastSync
protected static final int CCODE_ISO180006C_BroadcastSync
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_Initialize
protected static final int CCODE_IDS_SL900A_Initialize
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_SetLog
protected static final int CCODE_IDS_SL900A_SetLog
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_StartLog
protected static final int CCODE_IDS_SL900A_StartLog
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_EndLog
protected static final int CCODE_IDS_SL900A_EndLog
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_GetSensorValue
protected static final int CCODE_IDS_SL900A_GetSensorValue
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_GetLogState
protected static final int CCODE_IDS_SL900A_GetLogState
- See Also:
- Constant Field Values
-
CCODE_OridaoBegin
protected static final int CCODE_OridaoBegin
- See Also:
- Constant Field Values
-
CCODE_OridaoCommand
protected static final int CCODE_OridaoCommand
- See Also:
- Constant Field Values
-
CCODE_OridaoEnd
protected static final int CCODE_OridaoEnd
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_SetLogLimits
protected static final int CCODE_IDS_SL900A_SetLogLimits
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_GetMeasurementSetup
protected static final int CCODE_IDS_SL900A_GetMeasurementSetup
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_GetCalibrationData
protected static final int CCODE_IDS_SL900A_GetCalibrationData
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_OpenArea
protected static final int CCODE_IDS_SL900A_OpenArea
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_SetPassword
protected static final int CCODE_IDS_SL900A_SetPassword
- See Also:
- Constant Field Values
-
CCODE_IDS_SL900A_GetBatteryLevel
protected static final int CCODE_IDS_SL900A_GetBatteryLevel
- See Also:
- Constant Field Values
-
CCODE_RFMicron_MAGNUSS3_ReadTemperature
protected static final int CCODE_RFMicron_MAGNUSS3_ReadTemperature
- See Also:
- Constant Field Values
-
CCODE_RFMicron_MAGNUSS3_ReadSensor
protected static final int CCODE_RFMicron_MAGNUSS3_ReadSensor
- See Also:
- Constant Field Values
-
CCODE_RFMicron_MAGNUSS2_ReadSensor
protected static final int CCODE_RFMicron_MAGNUSS2_ReadSensor
- See Also:
- Constant Field Values
-
CCODE_NXP_EnableBrandIdentifier
protected static final int CCODE_NXP_EnableBrandIdentifier
- See Also:
- Constant Field Values
-
CCODE_AVERY_SET_COMPOUND_DATA_GENERIC_CUSTOM_REGISTER_1
protected static final int CCODE_AVERY_SET_COMPOUND_DATA_GENERIC_CUSTOM_REGISTER_1
- See Also:
- Constant Field Values
-
CCODE_AVERY_SET_COMPOUND_DATA_GENERIC_CUSTOM_REGISTER_2
protected static final int CCODE_AVERY_SET_COMPOUND_DATA_GENERIC_CUSTOM_REGISTER_2
- See Also:
- Constant Field Values
-
CCODE_AVERY_RUN
protected static final int CCODE_AVERY_RUN
- See Also:
- Constant Field Values
-
Version
public static final String Version
Get the version of this library- See Also:
- Constant Field Values
-
LoopMutex
protected final Object LoopMutex
-
Loop
protected boolean Loop
-
listenerList
protected EventListenerList listenerList
-
-
Method Detail
-
GetSourceNames
public static String[] GetSourceNames()
Get the Sources available in the Reader- Returns:
- The list of Source names available in the Reader.
-
GetReadPoints
public String[] GetReadPoints()
Get the ReadPoints available in the Reader- Returns:
- The list of ReadPoints Names available in the Reader.
-
GetFirmwareRelease
public 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.
-
GetFirmwareRelease
public String GetFirmwareRelease(short level) throws CAENRFIDException
Permits to read the firmware release loaded into the device, or one of it's internal module.- Parameters:
level- It's a number that specifies the level of internal level of rfid module embedded inside the reader from which getting fw release (typical value is 1, default is 0).- 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.
-
GetReaderInfo
public CAENRFIDReaderInfo GetReaderInfo(short level) throws CAENRFIDException
Permits to read the model and the serial number of the reader, or one of it's internal module.- Parameters:
level- It's a number that specifies the level of internal level of rfid module embedded inside the reader from which getting info (typical value is 1, default is 0).- Returns:
- Returns the reader information 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(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, 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 connectionAddress- 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 CAENRFIDExceptionClose 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 CAENRFIDExceptionThis 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 CAENRFIDExceptionGet 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 CAENRFIDExceptionReturns the reader's battery charge level.- Returns:
- The current battery charge level expressed in %.
- Throws:
CAENRFIDException
-
GetIO
public int GetIO() throws CAENRFIDExceptionGet 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 CAENRFIDExceptionSet 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(String server, String filename) throws CAENRFIDException
Deprecated.Perform the reader's firmware upgrade by TFTP- Parameters:
server- The ip address of TFTP Server that hold the firmwarefilename- 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.
-
GetReadPointPower
public int GetReadPointPower(String readPoint) throws CAENRFIDException
Get the conducted power in mW set on antenna identified by readPoint.- Parameters:
readPoint- The name of antenna from which the power is measured.- Returns:
- The current conducted power for readPopint expressed in mW.
- Throws:
CAENRFIDException- If the Reader raises an error.
-
SetReadPointPower
public void SetReadPointPower(String readPoint, int power) throws CAENRFIDException
Sets the conducted RF power for the provided readPoint- Parameters:
readPoint- The name of antenna where to set powerpower- The conducted RF power expressed in mW.- Throws:
CAENRFIDException- If the Reader raises an error.
-
SetPower
public void SetPower(int power) throws CAENRFIDExceptionSet 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(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.
-
GetReadPointStatus
public CAENRFIDReadPointStatus GetReadPointStatus(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(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(String ReadPoint, CAENRFIDMatchingParams MatchParam, short MatchParamValue) throws CAENRFIDException
MatchReadPointImpedance matches the antenna impedance passed in ReadPoint.- Parameters:
ReadPoint- The antenna to be matchedMatchParam- 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(String IPAddress, String NetMask, 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.
-
GetNetwork
public CAENRFIDNetworkInfo GetNetwork() throws CAENRFIDException
Gets the IP v4 network settings of the reader (if supported).- Returns:
- A CAENRFIDNetworkInfo instance containing the IP v4 settings of the reader.
- Throws:
CAENRFIDException- If 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 CAENRFIDExceptionSet 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 CAENRFIDExceptionGrants 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 CAENRFIDExceptionRevokes all reader's administrator permissions to the user.- Throws:
CAENRFIDException- If the Reader raises an error.
-
SetDateTime
public void SetDateTime(String DateTime) throws CAENRFIDException
Set the Date/Time of the Reader- Parameters:
DateTime- The Date/Time to be set on the reader as a string in the format: "yyyy-MM-dd HH:mm:ss" e.g. 2022-03-08 23:04:11- Throws:
CAENRFIDException- If the Reader raises an error.
-
GetBufferedData
protected CAENRFIDTag[] GetBufferedData(String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
GetBufferedData
protected CAENRFIDTag[] GetBufferedData(String Source, int address, int length) throws CAENRFIDException
- Throws:
CAENRFIDException
-
GetBufferSize
protected int GetBufferSize(String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
ClearBuffer
protected void ClearBuffer(String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Inventory
protected CAENRFIDTag[] Inventory(String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
InventoryTag
protected CAENRFIDTag[] InventoryTag(String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
InventoryTag
protected CAENRFIDTag[] InventoryTag(String Source, InventorySubCommand inventorySubCommand) throws CAENRFIDException
- Throws:
CAENRFIDException
-
InventoryTag
protected CAENRFIDTag[] InventoryTag(String Source, byte[] Mask, short MaskLength, short position, short flag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
InventoryTag
protected CAENRFIDTag[] InventoryTag(String Source, byte[] Mask, short MaskLength, short position, short flag, InventorySubCommand inventorySubCommand) throws CAENRFIDException
- Throws:
CAENRFIDException
-
InventoryTag
protected CAENRFIDTag[] InventoryTag(String Source, short bank, byte[] Mask, short MaskLength, short Position, short flag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
InventoryTag
protected CAENRFIDTag[] InventoryTag(String Source, short bank, byte[] Mask, short MaskLength, short Position, short flag, InventorySubCommand inventorySubCommand) throws CAENRFIDException
- Throws:
CAENRFIDException
-
EventInventoryTag
protected boolean EventInventoryTag(String Source, byte[] Mask, short MaskLength, short position, short flag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
EventInventoryTag
protected boolean EventInventoryTag(String Source, byte[] Mask, short MaskLength, short position, short flag, InventorySubCommand inventorySubCommand) 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 CAENRFIDExceptionStops the InventoryTag when executed in Continuous Mode- Throws:
CAENRFIDException- If Reader raises an error
-
ReadTagData
protected byte[] ReadTagData(String Source, CAENRFIDTag tag, short address, short nbyte) throws CAENRFIDException
- Throws:
CAENRFIDException
-
WriteTagData
protected void WriteTagData(String Source, CAENRFIDTag tag, short address, short nbyte, byte[] twrite) throws CAENRFIDException
- Throws:
CAENRFIDException
-
LockTag
protected void LockTag(String Source, CAENRFIDTag tag, short address) throws CAENRFIDException
- Throws:
CAENRFIDException
-
BlockWriteTagData
protected void BlockWriteTagData(String Source, CAENRFIDTag tag, short address, short mask, short nbyte, byte[] twrite) throws CAENRFIDException
- Throws:
CAENRFIDException
-
ProgramID_EPC_C1G1
protected void ProgramID_EPC_C1G1(String Source, CAENRFIDTag tag, short passwd, boolean lock) throws CAENRFIDException
- Throws:
CAENRFIDException
-
ProgramID_EPC119
protected void ProgramID_EPC119(String Source, CAENRFIDTag tag, byte[] newID) throws CAENRFIDException
- Throws:
CAENRFIDException
-
KillTag_EPC_C1G1
protected void KillTag_EPC_C1G1(String Source, CAENRFIDTag tag, short passwd) throws CAENRFIDException
- Throws:
CAENRFIDException
-
AddReadPoint
protected void AddReadPoint(String Source, String Antenna) throws CAENRFIDException
- Throws:
CAENRFIDException
-
RemoveReadPoint
protected void RemoveReadPoint(String Source, String Antenna) throws CAENRFIDException
- Throws:
CAENRFIDException
-
GetReadPointInSource
protected short GetReadPointInSource(String Source, String Antenna) throws CAENRFIDException
- Throws:
CAENRFIDException
-
SetSourceConfiguration
protected void SetSourceConfiguration(String Source, int ParType, int ParValue) throws CAENRFIDException
- Throws:
CAENRFIDException
-
GetSourceConfiguration
protected int GetSourceConfiguration(String Source, int ParType) throws CAENRFIDException
- Throws:
CAENRFIDException
-
AddNotifyTrigger
protected void AddNotifyTrigger(String Channel, String Trigger) throws CAENRFIDException
- Throws:
CAENRFIDException
-
RemoveNotifyTrigger
protected void RemoveNotifyTrigger(String Channel, String Trigger) throws CAENRFIDException
- Throws:
CAENRFIDException
-
AddSourceToChannel
protected void AddSourceToChannel(String Channel, String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
RemoveSourceFromChannel
protected void RemoveSourceFromChannel(String Channel, String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
AddReadTrigger
protected void AddReadTrigger(String Source, String Trigger) throws CAENRFIDException
- Throws:
CAENRFIDException
-
RemoveReadTrigger
protected void RemoveReadTrigger(String Source, String Trigger) throws CAENRFIDException
- Throws:
CAENRFIDException
-
CheckSourceInChannel
protected short CheckSourceInChannel(String Channel, String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
CheckTriggerInChannel
protected short CheckTriggerInChannel(String Channel, String Trigger) throws CAENRFIDException
- Throws:
CAENRFIDException
-
CheckSourceInTrigger
protected short CheckSourceInTrigger(String Trigger, String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
CheckChannelInTrigger
protected short CheckChannelInTrigger(String Trigger, String Channel) throws CAENRFIDException
- Throws:
CAENRFIDException
-
ReadTagData_EPC_C1G2
protected byte[] ReadTagData_EPC_C1G2(String Source, CAENRFIDTag tag, short membank, short address, short nbyte) throws CAENRFIDException
- Throws:
CAENRFIDException
-
ReadTagData_EPC_C1G2
protected byte[] ReadTagData_EPC_C1G2(String Source, CAENRFIDTag tag, short membank, short address, short nbyte, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
ReadTagData_EPC_C1G2
protected byte[] ReadTagData_EPC_C1G2(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(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(String Source, CAENRFIDTag tag, short membank, short address, short nbyte, byte[] twrite) throws CAENRFIDException
- Throws:
CAENRFIDException
-
WriteTagData_EPC_C1G2
protected void WriteTagData_EPC_C1G2(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(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(String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, short MemBank, short Address, short Length, byte[] Data, int AccessPassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
BlockWriteTagData_EPC_C1G2
protected void BlockWriteTagData_EPC_C1G2(String Source, CAENRFIDTag Tag, short MemBank, short address, short blockLength, short nbyte, byte[] twrite) throws CAENRFIDException
- Throws:
CAENRFIDException
-
BlockWriteTagData_EPC_C1G2
protected void BlockWriteTagData_EPC_C1G2(String Source, CAENRFIDTag Tag, short MemBank, short address, short blockLength, short nbyte, byte[] twrite, int accessPassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
LockBlockPermalock_EPC_C1G2
protected void LockBlockPermalock_EPC_C1G2(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(String Source, CAENRFIDTag Tag, short MemBank, short BlockPtr, short BlockRange, int AccessPassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
LockTag_EPC_C1G2
protected void LockTag_EPC_C1G2(String Source, CAENRFIDTag tag, int payload) throws CAENRFIDException
- Throws:
CAENRFIDException
-
LockTag_EPC_C1G2
protected void LockTag_EPC_C1G2(String Source, CAENRFIDTag tag, int payload, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
LockTag_EPC_C1G2
protected void LockTag_EPC_C1G2(String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, int Payload) throws CAENRFIDException
- Throws:
CAENRFIDException
-
LockTag_EPC_C1G2
protected void LockTag_EPC_C1G2(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(String Source, CAENRFIDTag tag, int password) throws CAENRFIDException
- Throws:
CAENRFIDException
-
KillTag_EPC_C1G2
protected void KillTag_EPC_C1G2(String Source, short BankMask, short PositionMask, short LengthMask, byte[] Mask, int AccessPassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
ProgramID_EPC_C1G2
protected void ProgramID_EPC_C1G2(String Source, CAENRFIDTag tag, short nsi) throws CAENRFIDException
- Throws:
CAENRFIDException
-
ProgramID_EPC_C1G2
protected void ProgramID_EPC_C1G2(String Source, CAENRFIDTag tag, short nsi, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
BlockProgramID_EPC_C1G2
protected void BlockProgramID_EPC_C1G2(String Source, CAENRFIDTag Tag, short NSI, short blockLength) throws CAENRFIDException
- Throws:
CAENRFIDException
-
BlockProgramID_EPC_C1G2
protected void BlockProgramID_EPC_C1G2(String Source, CAENRFIDTag Tag, short NSI, short blockLength, int accessPassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Query_EPC_C1G2
protected boolean Query_EPC_C1G2(String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
QueryAck_EPC_C1G2
protected byte[] QueryAck_EPC_C1G2(String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Untraceable_EPC_C1G2
protected void Untraceable_EPC_C1G2(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(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(String Source, CAENRFIDTag Tag, byte SubCmd, short Length, byte[] Data, short TRLength) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_ReadProtect
protected void NXP_ReadProtect(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_ReadProtect
protected void NXP_ReadProtect(String Source, CAENRFIDTag Tag, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_ResetReadProtect
protected void NXP_ResetReadProtect(String Source, CAENRFIDTag Tag, int Password) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_ResetReadProtect
protected void NXP_ResetReadProtect(String Source, CAENRFIDTag Tag, int Password, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_ChangeEAS
protected void NXP_ChangeEAS(String Source, CAENRFIDTag Tag, boolean EAS) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_ChangeEAS
protected void NXP_ChangeEAS(String Source, CAENRFIDTag Tag, boolean EAS, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_EAS_Alarm
protected byte[] NXP_EAS_Alarm(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_EAS_Alarm
protected byte[] NXP_EAS_Alarm(String Source, CAENRFIDTag Tag, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_Calibrate
protected void NXP_Calibrate(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_Calibrate
protected void NXP_Calibrate(String Source, CAENRFIDTag Tag, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_ChangeConfig
protected void NXP_ChangeConfig(String Source, CAENRFIDTag Tag, short ConfigWord) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_ChangeConfig
protected void NXP_ChangeConfig(String Source, CAENRFIDTag Tag, short ConfigWord, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_EnableBrandIdentifier
protected void NXP_EnableBrandIdentifier(String Source, boolean Enable) throws CAENRFIDException
- Throws:
CAENRFIDException
-
NXP_InventoryWithBrandIdentifier
protected CAENRFIDTag_NXP_UCODE8[] NXP_InventoryWithBrandIdentifier(String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_ReadLock
protected void Hitachi_ReadLock(String Source, CAENRFIDTag Tag, short Payload) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_ReadLock
protected void Hitachi_ReadLock(String Source, CAENRFIDTag Tag, short Payload, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_WriteMultipleWords
protected void Hitachi_WriteMultipleWords(String Source, CAENRFIDTag Tag, short MemBank, short WordPtr, byte WordCount, byte[] MaskData) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_WriteMultipleWords
protected void Hitachi_WriteMultipleWords(String Source, CAENRFIDTag Tag, short MemBank, short WordPtr, byte WordCount, byte[] MaskData, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_BlockLock
protected void Hitachi_BlockLock(String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_BlockLock
protected void Hitachi_BlockLock(String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_BlockReadLock
protected void Hitachi_BlockReadLock(String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_BlockReadLock
protected void Hitachi_BlockReadLock(String Source, CAENRFIDTag Tag, byte BlockNum, int Password, byte PayLoad, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_GetSystemInfo
protected byte[] Hitachi_GetSystemInfo(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_GetSystemInfo
protected byte[] Hitachi_GetSystemInfo(String Source, CAENRFIDTag Tag, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_SetAttenuate
protected void Hitachi_SetAttenuate(String Source, CAENRFIDTag Tag, byte level, boolean lock) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Hitachi_SetAttenuate
protected void Hitachi_SetAttenuate(String Source, CAENRFIDTag Tag, byte level, boolean lock, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
CustomCMD_EPC_C1G2
protected byte[] CustomCMD_EPC_C1G2(String Source, CAENRFIDTag Tag, byte SubCmd, short Length, byte[] Data, short TRLength, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_Refresh
protected void Fujitsu_Refresh(String Source, CAENRFIDTag Tag, byte option) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_Refresh
protected void Fujitsu_Refresh(String Source, CAENRFIDTag Tag, byte option, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_ChgWordLock
protected void Fujitsu_ChgWordLock(String Source, CAENRFIDTag Tag, byte MemBank, short WordPtr, byte Payload, int UserPassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_ChgWordLock
protected void Fujitsu_ChgWordLock(String Source, CAENRFIDTag Tag, byte MemBank, short WordPtr, byte Payload, int UserPassword, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_ChgBlockLock
protected void Fujitsu_ChgBlockLock(String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int Payload, int UserPassword, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_ChgBlockLock
protected void Fujitsu_ChgBlockLock(String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int Payload, int UserPassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_ReadBlockLock
protected byte[] Fujitsu_ReadBlockLock(String Source, CAENRFIDTag Tag, byte BlockGroupPtr) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_ReadBlockLock
protected byte[] Fujitsu_ReadBlockLock(String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_ChgBlockGroupPassword
protected void Fujitsu_ChgBlockGroupPassword(String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int NewPassword, int CurrentPassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_ChgBlockGroupPassword
protected void Fujitsu_ChgBlockGroupPassword(String Source, CAENRFIDTag Tag, byte BlockGroupPtr, int NewPassword, int CurrentPassword, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_BurstWrite
protected byte Fujitsu_BurstWrite(String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte, byte[] data) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_BurstWrite
protected byte Fujitsu_BurstWrite(String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte, byte[] data, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_BurstErase
protected byte Fujitsu_BurstErase(String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Fujitsu_BurstErase
protected byte Fujitsu_BurstErase(String Source, CAENRFIDTag Tag, byte MemBank, short address, byte nbyte, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
EM4325_GetUID
protected byte[] EM4325_GetUID(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
EM4325_GetUID
protected byte[] EM4325_GetUID(String Source, CAENRFIDTag Tag, int password) throws CAENRFIDException
- Throws:
CAENRFIDException
-
EM4325_GetSensorData
protected EM4325TagData EM4325_GetSensorData(String Source, CAENRFIDTag Tag, boolean UIDEnable, boolean NewSample) throws CAENRFIDException
- Throws:
CAENRFIDException
-
EM4325_SendSPI
protected byte[] EM4325_SendSPI(String Source, CAENRFIDTag Tag, byte SPIConfig, byte[] SPICmd, int SlaveSPILength) throws CAENRFIDException
- Throws:
CAENRFIDException
-
EM4325_SendSPI
protected byte[] EM4325_SendSPI(String Source, CAENRFIDTag Tag, byte SPIConfig, byte[] SPICmd, int SlaveSPILength, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
EM4325_ResetAlarms
protected void EM4325_ResetAlarms(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(String Source, CAENRFIDTag Tag, short DelayTime, short ApplicationData) throws CAENRFIDException
- Throws:
CAENRFIDException
-
IDS_SL900A_SetLog
protected void IDS_SL900A_SetLog(String Source, CAENRFIDTag Tag, int LogMode) throws CAENRFIDException
- Throws:
CAENRFIDException
-
IDS_SL900A_StartLog
protected void IDS_SL900A_StartLog(String Source, CAENRFIDTag Tag, int StartTime) throws CAENRFIDException
- Throws:
CAENRFIDException
-
IDS_SL900A_EndLog
protected void IDS_SL900A_EndLog(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
IDS_SL900A_GetLogState
protected byte[] IDS_SL900A_GetLogState(String Source, CAENRFIDTag Tag, boolean ShelfLife) throws CAENRFIDException
- Throws:
CAENRFIDException
-
IDS_SL900A_GetSensorValue
protected byte[] IDS_SL900A_GetSensorValue(String Source, CAENRFIDTag Tag, byte SensorType) throws CAENRFIDException
- Throws:
CAENRFIDException
-
IDS_SL900A_SetLogLimits
protected void IDS_SL900A_SetLogLimits(String Source, CAENRFIDTag Tag, byte[] LogLimits) throws CAENRFIDException
- Throws:
CAENRFIDException
-
IDS_SL900A_GetMeasurementSetup
protected byte[] IDS_SL900A_GetMeasurementSetup(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
IDS_SL900A_GetCalibrationData
protected byte[] IDS_SL900A_GetCalibrationData(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
IDS_SL900A_OpenArea
protected void IDS_SL900A_OpenArea(String Source, CAENRFIDTag Tag, byte PasswordLevel, int Password) throws CAENRFIDException
- Throws:
CAENRFIDException
-
IDS_SL900A_SetPassword
protected void IDS_SL900A_SetPassword(String Source, CAENRFIDTag Tag, byte PasswordLevel, int Password) throws CAENRFIDException
- Throws:
CAENRFIDException
-
IDS_SL900A_GetBatteryLevel
protected byte[] IDS_SL900A_GetBatteryLevel(String Source, CAENRFIDTag Tag, boolean BatteryTypeReCheck) throws CAENRFIDException
- Throws:
CAENRFIDException
-
RFMicron_MAGNUSS3_ReadTemperature
protected byte[] RFMicron_MAGNUSS3_ReadTemperature(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
RFMicron_MAGNUSS3_ReadSensor
protected byte[] RFMicron_MAGNUSS3_ReadSensor(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
RFMicron_MAGNUSS2_ReadSensor
protected byte[] RFMicron_MAGNUSS2_ReadSensor(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Oridao_Begin
protected short Oridao_Begin(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Oridao_Begin
protected short Oridao_Begin(String Source, CAENRFIDTag Tag, int SecurePassword) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Oridao_Command
protected byte[] Oridao_Command(String Source, CAENRFIDTag Tag, short handle, short WriteLengthBit, byte[] WriteData, short ReplyLengthBit) throws CAENRFIDException
- Throws:
CAENRFIDException
-
Oridao_End
protected void Oridao_End(String Source, CAENRFIDTag Tag) throws CAENRFIDException
- Throws:
CAENRFIDException
-
ChargeDeviceR1175OReader
protected void ChargeDeviceR1175OReader(CAENRFIDReader.CAENRFIDR1175OReaderConstants ChargeType, short OnOff) throws CAENRFIDException
This method can be used to enable/disable the charging of the reader to or from a connected device.- Parameters:
ChargeType- The type of charging to be performed.OnOff- The enabling/disabling of the charge.- 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 CAENRFIDExceptionGets the RF Channel- Returns:
- The RF channel.
- Throws:
CAENRFIDException- If the Reader raises an error.
-
SetRFChannel
public void SetRFChannel(short Channel) throws CAENRFIDExceptionSets 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 CAENRFIDExceptionGets 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 CAENRFIDExceptionEnable 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(String Source) throws CAENRFIDException
- Throws:
CAENRFIDException
-
_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(String Channel) throws CAENRFIDException
- Throws:
CAENRFIDException
-
GetIODirection
public int GetIODirection() throws CAENRFIDExceptionGet 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 CAENRFIDExceptionSet 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 CAENRFIDExceptionSet the RS232 port of the Reader.- Parameters:
baud- The Baudrate value to setdatab- The DataBit value to setstopb- The StopBit value to setparity- The Parity value to setflowc- The FlowControll value to set- Throws:
CAENRFIDException- If the Reader raises an error.
-
GroupSelUnsel
protected CAENRFIDTag GroupSelUnsel(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)
-
-