Package com.caen.RFIDLibrary
Class CAENRFIDNotify
- java.lang.Object
-
- com.caen.RFIDLibrary.CAENRFIDNotify
-
public class CAENRFIDNotify extends Object
This class defines the CAEN RFID Notify.- Version:
- CAENRFIDLibrary 5.0.0
- Author:
- Andrea Iavazzo (support@caenrfid.com) CAEN RFID Srl Computing Division
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St)protectedCAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts)protectedCAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, byte[] phase, int frequency, String antenna)protectedCAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, byte[] phase, int frequency, String antenna, short subCommand, short subCommandResult, byte[] subCommandData)protectedCAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, float phaseB, float phaseE, long frequency, String antenna)protectedCAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, float phaseB, float phaseE, long frequency, String antenna, short subCommand, short subCommandResult, byte[] subCommandData)protectedCAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, String antenna)protectedCAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, String antenna, short subCommand, short subCommandResult, byte[] subCommandData)protectedCAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, String antenna)protectedCAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, String antenna)protectedCAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, String antenna)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetAntenna()Deprecated.DategetDate()Get the time of tag retrieval.longGetFrequency()Get the backscattering frequency expressed in KHz.byte[]getPC()This method represents the PC code in the tag.floatGetPhaseBegin()Gets the backscattering phase at the begin of communication from reader to tag.floatGetPhaseEnd()Gets the backscattering phase at the end of communication from tag to reader.StringgetReadPoint()Get the readpoint that covers this tagshortgetRSSI()Get the actual rssi of this tag from the antennaCAENRFIDTagEventTypegetStatus()Deprecated.shortgetSubCommandCode()Get the sub command code.byte[]getSubcommandData()Get the sub command data, in case of operation that returns data.shortgetSubCommandResultCode()Get the sub command result code.byte[]getTagID()Get the Tag's IDshortgetTagLength()Get the length of the Tag's IDStringgetTagSource()Get the Source that detected the TagCAENRFIDProtocolgetTagType()Get the Type of the Tag's IDbyte[]getTID()Get The TID field in bytebyte[]getXPC()Get the XPC of this tag, if exists.
-
-
-
Constructor Detail
-
CAENRFIDNotify
protected CAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St)
-
CAENRFIDNotify
protected CAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts)
-
CAENRFIDNotify
protected CAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, String antenna)
-
CAENRFIDNotify
protected CAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, String antenna)
-
CAENRFIDNotify
protected CAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, String antenna)
-
CAENRFIDNotify
protected CAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, String antenna)
-
CAENRFIDNotify
protected CAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, String antenna, short subCommand, short subCommandResult, byte[] subCommandData)
-
CAENRFIDNotify
protected CAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, byte[] phase, int frequency, String antenna)
-
CAENRFIDNotify
protected CAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, byte[] phase, int frequency, String antenna, short subCommand, short subCommandResult, byte[] subCommandData)
-
CAENRFIDNotify
protected CAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, float phaseB, float phaseE, long frequency, String antenna)
-
CAENRFIDNotify
protected CAENRFIDNotify(byte[] id, String LS, short len, CAENRFIDProtocol type, CAENRFIDTagEventType St, Date ts, short rssi, byte[] tTID, byte[] tXPC, byte[] tPC, float phaseB, float phaseE, long frequency, String antenna, short subCommand, short subCommandResult, byte[] subCommandData)
-
-
Method Detail
-
getTagID
public byte[] getTagID()
Get the Tag's ID- Returns:
- The ID of the Tag
-
getTagSource
public String getTagSource()
Get the Source that detected the Tag- Returns:
- The name of the Source
-
getTagLength
public short getTagLength()
Get the length of the Tag's ID- Returns:
- the length of the Tag's ID
-
getTagType
public CAENRFIDProtocol getTagType()
Get the Type of the Tag's ID- Returns:
- the type of the Tag's ID
-
getStatus
@Deprecated public CAENRFIDTagEventType getStatus()
Deprecated.Get The Status of the Tag- Returns:
- The Status of the Tag
-
getAntenna
@Deprecated public String getAntenna()
Deprecated.Get Antenna- Returns:
- A string rapresenting Antenna
-
getReadPoint
public String getReadPoint()
Get the readpoint that covers this tag- Returns:
- A string rapresenting the readpoint.
-
getDate
public Date getDate()
Get the time of tag retrieval.- Returns:
- A Date object rapresenting the TimeStamp
-
getRSSI
public short getRSSI()
Get the actual rssi of this tag from the antenna- Returns:
- A value representing
-
getTID
public byte[] getTID()
Get The TID field in byte- Returns:
- The bytes in the TID memory bank of gen 2 Tag
-
getXPC
public byte[] getXPC()
Get the XPC of this tag, if exists.- Returns:
- Four byte of XPC, or four zero if XPC has not detected on tag, or is invalid.
-
getPC
public byte[] getPC()
This method represents the PC code in the tag.- Returns:
- The tag's Protocol Control code.
-
GetPhaseBegin
public float GetPhaseBegin()
Gets the backscattering phase at the begin of communication from reader to tag.- Returns:
- A decimal value expressed in degree
-
GetPhaseEnd
public float GetPhaseEnd()
Gets the backscattering phase at the end of communication from tag to reader.- Returns:
- A decimal value expressed in degree
-
GetFrequency
public long GetFrequency()
Get the backscattering frequency expressed in KHz.- Returns:
- An integer value rapresenting in KHz
-
getSubCommandCode
public short getSubCommandCode()
Get the sub command code.- Returns:
- The sub command code.
-
getSubCommandResultCode
public short getSubCommandResultCode()
Get the sub command result code.- Returns:
- A value of 0 if operation has been performed successfully, false otherwise.
-
getSubcommandData
public byte[] getSubcommandData()
Get the sub command data, in case of operation that returns data.- Returns:
- A byte value of data read.
-
-