int stdcall YW_G2_SetReadProtectedWithEPC
(
int ReaderID,
int EPCLen,
unsigned char *EPC,
unsigned int Password
);
參數(shù) |
類(lèi)型 |
含義 |
ReaderID |
int |
老的設(shè)備標(biāo)示ID,范圍0x00-0xFF,0xFF為廣播地址 |
EPCLen |
int |
要讀寫(xiě)的EPC標(biāo)簽EPC長(zhǎng)度,字節(jié)數(shù) |
EPC |
unsigned char * |
EPC內(nèi)容 |
Password |
unsigned int |
標(biāo)簽操作的密碼,默認(rèn)為0 |
返 回 值:大于0為成功,小于0為錯(cuò)誤
int stdcall YW_G2_SetReadProtectedWithEPC (int ReaderID, int EPCLen, unsigned char *EPC,unsigned int Password);
function YW_G2_SetReadProtectedWithEPC(ReaderID: Integer; EPCLen: Integer; EPC: PChar;
Password: Integer): Integer;stdcall;external YW602DLL;
Public Declare Function YW_G2_SetReadProtectedWithEPC Lib "YW602.dll" (ByVal ReaderID As Long, ByVal EPCLen As Integer, EPC As Byte, _
ByVal Password As Long) As Long