<td id="n3ws3"></td>
          <th id="n3ws3"></th>
            <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
            <del id="n3ws3"><form id="n3ws3"></form></del>
            <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
          1. <dd id="n3ws3"><dl id="n3ws3"></dl></dd>
            YW_G2_Read
            超高頻讀寫(xiě)器G2標(biāo)簽讀內(nèi)容

            參數(shù)列表:

            int stdcall YW_G2_Read 

            (int ReaderID, 

            int EPCLen, 

            unsigned char *EPC,

            unsigned char MemType, 

            unsigned char StartPos, 

            unsigned char ReadLen,

            unsigned int Password,

            int *G2DataLen, 

            unsigned char *G2Data

            );


            參數(shù)含義:

            參數(shù)

            類型

            含義

            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)容

            MemType

            unsigned char

            要讀的區(qū)塊                   G2_BLOCK_RESERVE=0;保留區(qū)

            G2_BLOCK_EPC =1;EPC區(qū)

            G2_BLOCK_TID =2;TID區(qū)

            G2_BLOCK_USER =3;USER區(qū)

             

            StartPos

            unsigned char

            開(kāi)始讀取的地址(必須為偶數(shù)地址)

            ReadLen

            unsigned char

            要讀取的字節(jié)數(shù)(必須為偶數(shù))

            Password

            unsigned int

            標(biāo)簽操作的密碼,默認(rèn)為0

            G2DataLen

            int *

            讀到的字節(jié)數(shù)

            G2Data

            unsigned char

            讀到的內(nèi)容

            返 回 值:大于0為成功,小于0為錯(cuò)誤


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

            int stdcall YW_G2_ Read (int ReaderID, int EPCLen, unsigned char *EPC,unsigned char MemType, unsigned char StartPos, unsigned char ReadLen,unsigned int Password,int *G2DataLen, unsigned char *G2Data);


            Delphi聲明:

            function  YW_G2_Read(ReaderID: Integer; EPCLen: Integer; EPC: PChar;

                             MemType: Byte; StartPos: Byte;  ReadLen: Byte;

                             Password: Integer;

                             var G2DataLen: Integer; G2Data: PChar): Integer;stdcall;external YW602DLL;


            VB聲明:

            Public Declare Function YW_G2_Read Lib "YW602.dll" (ByVal ReaderID As Long, ByVal EPCLen As Integer, EPC As Byte, _

                             ByVal MemType As Byte, ByVal StartPos As Byte, ByVal ReadLen As Byte, _

                             ByVal Password As Long, _

                             G2DataLen As Integer, G2Data As Byte) As Long


            JAVA聲明:

            C#聲明:

            Power Builder 9 聲明:

            支持的RFID讀寫(xiě)器:
            YW-602-R, YW-602-U, YW-602-3, YW-602-8

              <td id="n3ws3"></td>
                    <th id="n3ws3"></th>
                      <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
                      <del id="n3ws3"><form id="n3ws3"></form></del>
                      <b id="n3ws3"><menuitem id="n3ws3"></menuitem></b>
                    1. <dd id="n3ws3"><dl id="n3ws3"></dl></dd>
                      18性XXXXX性猛交 | 婷婷五月天网 | 欧美中文大屌 | 日本黄色网址大全 | 日韩嫩穴 |