TS50WriteEPC Method (String, String, Byte) |
Writes EPC into tag with specified EPC.
Note this API will automatically calculate and write the Gen2 PC based on the EPC length.
UMI, XI, T, bits will set to 0.
AFI or Attribute byte will set to 0.
If you want to write EPC with specified T, AFI or Attribute, call
WriteTag(String, String, MemoryBank, Int32, Byte) instead.
Namespace:
com.gigatms
Assembly:
GIGATMS.UHF (in GIGATMS.UHF.dll) Version: 2.16.9.0 (2.16.9.0)
Syntaxpublic bool WriteEPC(
string hexSelectedPcEpc,
string hexAccessPassword,
byte[] epcData
)
Public Function WriteEPC (
hexSelectedPcEpc As String,
hexAccessPassword As String,
epcData As Byte()
) As Boolean
public:
bool WriteEPC(
String^ hexSelectedPcEpc,
String^ hexAccessPassword,
array<unsigned char>^ epcData
)
Parameters
- hexSelectedPcEpc
- Type: SystemString
Specifies the tag with identical PC and EPC. - hexAccessPassword
- Type: SystemString
Tag access password. - epcData
- Type: SystemByte
Specifies the new Gen2 EPC to write into EPC bank.
Return Value
Type:
Boolean
Return true if the operation is OK.
Return False If the operation Is failed.
See Also