Class CAENRFIDTag

  • Direct Known Subclasses:
    CAENRFIDTag_NXP_UCODE8

    public class CAENRFIDTag
    extends Object
    This class defines the CAEN RFID Tag.
    Version:
    CAENRFIDLibrary 5.0.0
    Author:
    Andrea Iavazzo (support@caenrfid.com) CAEN RFID Srl Computing Division
    • Method Detail

      • GetId

        public byte[] GetId()
        Get the Tag's ID
        Returns:
        the Tag's ID
      • GetTID

        public byte[] GetTID()
        Gets the TID field in this tag's memory
        Returns:
        TID associated to this tag
      • GetLength

        public short GetLength()
        Get the Tag's length
        Returns:
        the Tag's length
      • GetRSSI

        public short GetRSSI()
        Get the Tag's RSSI
        Returns:
        the Tag's RSSI
      • GetSource

        public CAENRFIDLogicalSource GetSource()
        Get the Source that has detected the tag
        Returns:
        The CAENRFIDLogicalSource representing the Source that has detected the Tag
      • GetType

        public CAENRFIDProtocol GetType()
        Get the type of the protocol
        Returns:
        The CAENRFIDProtocol representing the type of the Tag
      • GetTimeStamp

        public Date GetTimeStamp()
        Get the TimeStamp of the Tag
        Returns:
        The Date of the TimeStamp of the Tag
      • GetAntenna

        public String GetAntenna()
        Get the Antenna That has detect the Tag
        Returns:
        The name of the Antenna of the 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()
        Get the pc of this tag.
        Returns:
        A short (two bytes array) containing PC.
      • 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
      • GetReadPoint

        public String GetReadPoint()
                            throws CAENRFIDException
        Get the ReadPoint that has detected the tag
        Returns:
        The name of the ReadPoint that has detected the Tag
        Throws:
        CAENRFIDException - If the Reader raises an error.
      • 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.