Package com.caen.RFIDLibrary
Class CAENRFIDTag_NXP_UCODE8
- java.lang.Object
-
- com.caen.RFIDLibrary.CAENRFIDTag
-
- com.caen.RFIDLibrary.CAENRFIDTag_NXP_UCODE8
-
public class CAENRFIDTag_NXP_UCODE8 extends CAENRFIDTag
This class is used to define objects representing an extension of CAENRFIDTag with a BrandIdentifier field. These objects are used as return value for the customCAENRFIDLogicalSource.NXP_InventoryWithBrandIdentifier()method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.caen.RFIDLibrary.CAENRFIDTag
CAENRFIDTag.MemBanks
-
-
Field Summary
Fields Modifier and Type Field Description static intBRAND_ID_LENGTH
-
Constructor Summary
Constructors Constructor Description CAENRFIDTag_NXP_UCODE8(byte[] tag_id, short length, byte[] brand_id, CAENRFIDLogicalSource source, String read_point)Creates a new instance of the CAENRFIDTag_NXP_UCODE8 class.CAENRFIDTag_NXP_UCODE8(byte[] tag_id, short length, byte[] brand_id, String source_name, String read_point)Creates a new instance of the CAENRFIDTag_NXP_UCODE8 class.CAENRFIDTag_NXP_UCODE8(CAENRFIDNotify notification)Creates a new instance of the CAENRFIDTag_NXP_UCODE8 class.CAENRFIDTag_NXP_UCODE8(CAENRFIDTag tag)Creates a new instance of the CAENRFIDTag_NXP_UCODE8 class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBrandIdentifier()Returns the tag's Brand Identifier (NXP UCODE 8/8m tags).StringgetTagSource()Returns the tag's Brand Identifier (NXP UCODE 8/8m tags).-
Methods inherited from class com.caen.RFIDLibrary.CAENRFIDTag
GetAntenna, GetFrequency, GetId, GetLength, GetPC, GetPhaseBegin, GetPhaseEnd, GetReadPoint, GetRSSI, GetSource, getSubCommandCode, getSubcommandData, getSubCommandResultCode, GetTID, GetTimeStamp, GetType, GetXPC, setId, setLength
-
-
-
-
Constructor Detail
-
CAENRFIDTag_NXP_UCODE8
public CAENRFIDTag_NXP_UCODE8(CAENRFIDTag tag) throws CAENRFIDException
Creates a new instance of the CAENRFIDTag_NXP_UCODE8 class.- Parameters:
tag- the CAENRFIDTag object containing raw data- Throws:
CAENRFIDException
-
CAENRFIDTag_NXP_UCODE8
public CAENRFIDTag_NXP_UCODE8(CAENRFIDNotify notification) throws CAENRFIDException
Creates a new instance of the CAENRFIDTag_NXP_UCODE8 class.- Parameters:
notification- the CAENRFIDNotify object containing raw data- Throws:
CAENRFIDException
-
CAENRFIDTag_NXP_UCODE8
public CAENRFIDTag_NXP_UCODE8(byte[] tag_id, short length, byte[] brand_id, CAENRFIDLogicalSource source, String read_point) throws CAENRFIDExceptionCreates a new instance of the CAENRFIDTag_NXP_UCODE8 class.- Parameters:
tag_id- the tag's ID (the EPC code in EPC Class 1 Gen 2 tags)length- the Tag's ID lengthbrand_id- the tag's brand identifiersource- the logical source that has detected the Tagread_point- the name of the read point in the logical source that has detected the Tag- Throws:
CAENRFIDException
-
CAENRFIDTag_NXP_UCODE8
public CAENRFIDTag_NXP_UCODE8(byte[] tag_id, short length, byte[] brand_id, String source_name, String read_point) throws CAENRFIDExceptionCreates a new instance of the CAENRFIDTag_NXP_UCODE8 class.- Parameters:
tag_id- the tag's ID (the EPC code in EPC Class 1 Gen 2 tags)length- the Tag's ID lengthbrand_id- the tag's brand identifiersource_name- the name of the logical source that has detected the Tagread_point- the name of the read point in the logical source that has detected the Tag- Throws:
CAENRFIDException
-
-
Method Detail
-
getBrandIdentifier
public byte[] getBrandIdentifier()
Returns the tag's Brand Identifier (NXP UCODE 8/8m tags).- Returns:
- an array of bytes representing the tag's Brand Identifier
-
getTagSource
public String getTagSource()
Returns the tag's Brand Identifier (NXP UCODE 8/8m tags).- Returns:
- an array of bytes representing the tag's Brand Identifier
-
-