<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_SetProtected
            超高頻讀寫器G2標(biāo)簽設(shè)置保護

            參數(shù)列表:

            int stdcall YW_G2_SetProtected 

            (

            int ReaderID, 

            int EPCLen, 

            unsigned char *EPC,

            unsigned char Protect, 

            unsigned char ProtectMode, 

            unsigned int Password

            );


            參數(shù)含義:

            參數(shù)

            類型

            含義

            ReaderID

            int

            老的設(shè)備標(biāo)示ID,范圍0x00-0xFF,0xFF為廣播地址

            EPCLen

            int

            要操作的EPC標(biāo)簽EPC長度,字節(jié)數(shù),必須為偶數(shù)

            EPC

            unsigned char *

            要操作的EPC

            Protect

            unsigned char

            0x00時,控制銷毀密碼讀寫保護設(shè)定。

            0x01時,控制訪問密碼讀寫保護設(shè)定。

            0x02時,控制EPC存儲區(qū)讀寫保護設(shè)定。

            0x03時,控制TID存儲區(qū)讀寫保護設(shè)定。

            0x04時,控制用戶存儲區(qū)讀寫保護設(shè)定。

             

            ProtectMode

            unsigned char

            當(dāng)Protect0x000x01,即當(dāng)設(shè)置Kill密碼區(qū)或訪問密碼區(qū)的時候,ProtectMode的值代表的意義如下:

            0x00:設(shè)置為無保護下的可讀可寫

            0x01:設(shè)置為永遠可讀可寫

            0x02:設(shè)置為帶密碼可讀可寫

            0x03:設(shè)置為永遠不可讀不可寫

             

            當(dāng)Protect0x02、0x03、0x04的時候,即當(dāng)設(shè)置EPC區(qū)、TID區(qū)及用戶區(qū)的時候,ProtectMode的值代表的意義如下:

            0x00:設(shè)置為無保護下的可寫

            0x01:設(shè)置為永遠可寫

            0x02:設(shè)置為帶密碼可寫

            0x03:設(shè)置為永遠不可寫

             

            Password

            unsigned int

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

            返 回 值:大于0為成功,小于0為錯誤


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

            int stdcall YW_G2_ SetProtected (int ReaderID, int EPCLen, unsigned char *EPC,unsigned char Protect, unsigned char ProtectMode, unsigned int Password);


            Delphi聲明:

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

                            Protect: Byte; ProtectMode: Byte;

                            Password: Integer): Integer;stdcall;external YW602DLL;


            VB聲明:

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

                            ByVal Protect As Byte, ByVal ProtectMode As Byte, _

                            ByVal Password As Long) As Long


            JAVA聲明:

            C#聲明:

            Power Builder 9 聲明:

            支持的RFID讀寫器:
            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>
                      久久久精品中文字幕麻豆发布 | 黄片视频下载 | 操逼网亚洲 | 免费的鸡巴网站 | 草留在线视频 |