User's Manual

CAEN RFID API Reference Manual
48
ProgramID_EPC_C1G1 Method
Description:
This method can be used to write the EPC of a EPC Class 1 Gen 1 tag.
Parameters:
Name
Description
Tag
The CAENRFIDTag representing the tag to be programmed, the ID contained in this
object will be programmed into the tag.
Password
The password needed in order to write into the tag.
Lock
A flag used to lock the EPC in the tag (1 if the EPC have to be locked).
Syntax:
C# representation:
public void ProgramID_EPC_C1G1(
CAENRFIDTag Tag,
short Password,
bool Lock)
Java and Android representation:
public void ProgramID_EPC_C1G1(
CAENRFIDTag Tag,
short Password,
boolean Lock)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_ProgramID_EPC_C1G1(
CAENRFIDHandle handle,
CAENRFIDTag *Tag,
char Password,
unsigned short Lock);
ProgramID_EPC_C1G2 Method
ProgramID_EPC_C1G2 Method (CAENRFIDTag, Int16)
Description:
This method can be used to write the EPC of a EPC Class 1 Gen 2 tag.
Parameters:
Name
Description
Tag
The CAENRFIDTag representing the tag to be programmed, the ID contained in this
object will be programmed into the tag.
NSI
The Numbering System Identifier as defined in EPC Class 1 Gen 2 protocol specifications.
Syntax:
C# representation:
public void ProgramID_EPC_C1G2(
CAENRFIDTag Tag,
short NSI)
Java and Android representation:
public void ProgramID_EPC_C1G2(
CAENRFIDTag Tag,
short NSI)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_ProgramID_EPC_C1G2(
CAENRFIDHandle handle,
CAENRFIDTag *Tag,
unsigned short NSI);