YW_6B_Write
超高频读写器6B卡写数据

参数列表:

int stdcall YW_6B_Write 

(

int ReaderID, 

unsigned char *UID, 

int Start, 

int WriteLen, 

unsigned char *TagData

);


参数含义:

参数

类型

含义

ReaderID

int

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

UID

unsigned char *

要操作的6B标签的UID

Start

int

写入的开始字节

WriteLen

int

要写入的字节数量

TagData

unsigned char *

写入的内容

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


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

int stdcall YW_6B_Write (int ReaderID, unsigned char *UID, int Start, int WriteLen, unsigned char *TagData);


Delphi声明:

function  YW_6B_Write(ReaderID: Integer; UID: PChar; Start: Integer; WriteLen: Integer; TagData: PChar): Integer;stdcall;external YW602DLL;


VB声明:

Public Declare Function YW_6B_Write Lib "YW602.dll" (ByVal ReaderID As Long, UID As Byte, ByVal Start As Long, ByVal WriteLen As Long, TagData As Byte) As Long


JAVA声明:

C#声明:

Power Builder 9 声明:

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