YW_G2_Inventory
超高频读写器G2标签寻卡

参数列表:

int stdcall YW_G2_Inventory 

(

int ReaderID, 

bool GetEPC, 

int AddrTID, 

int LenTID, 

int *TagsNum, 

int *DataLen, 

unsigned char *EPC

);


参数含义:

参数

类型

含义

ReaderID

int

老的设备标示ID,范围0x00-0xFF,0xFF为广播地址

GetEPC 

bool

是否获得EPC

AddrTID

int

如果获得TID,则为首地址

LenTID 

int

要读取的TID长度,偶数字节

TagsNum

int *

寻到的标签数量

DataLen

int *

读到的数据

EPC   

unsigned char *

读到的EPC,结构为EPC长度+EPC

返 回 值:大于0为成功,小于0为错误


C++声明(VC++和C++ Builder):

int stdcall YW_G2_Inventory (int ReaderID, bool GetEPC, int AddrTID, int LenTID, int *TagsNum, int *DataLen, unsigned char *EPC);


Delphi声明:

function YW_G2_Inventory(ReaderID: Integer; GetEPC: Boolean; AddrTID: Integer;LenTID: Integer; var  TagsNum: Integer;  var DataLen: Integer; EPC: PChar): Integer;stdcall;external YW602DLL;


VB声明:

Public Declare Function YW_G2_Inventory Lib "YW602.dll" (ByVal ReaderID As Long, ByVal GetEPC As Boolean, ByVal AddrTID As Long, ByVal LenTID As Long, TagsNum As Long, DataLen As Long, EPC As Byte) As Long


JAVA声明:

C#声明:

Power Builder 9 声明:

支持的RFID读写器:
YW-602-R, YW-602-U, YW-602-3, YW-602-8