<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_RequestCard
            TypeA卡尋卡

            參數(shù)列表:

            int stdcall YW_RequestCard

            (

            int ReaderID,

            char RequestMode

            unsigned short *CardType

            );


            參數(shù)含義:

            參數(shù)

            類型

            方向

            含義

            ReaderID

            int

            IN

            所要獲取的設(shè)備標(biāo)示ID,范圍0x0000-0xFFFF,如果未知,則ReaderID=0

            RequestMode

            char

            IN

            尋卡的模式:

            0x52->所有卡

            0x26->未休眠卡

            CardType

            unsigned short *

            OUT

            返回卡的類型:ATQA(2字節(jié))

            0x4400-> Ultralight/UltraLight C  /MifarePlus(7Byte UID)

            0x0400-> Mifare Mini/Mifare 1K (S50) /MifarePlus(4Byte UID)

            0x0200-> Mifare_4K(S70)/ MifarePlus(4Byte UID)

            0x0800-> Mifare_Pro

            0x0403-> Mifare_ProX

            0x4403->Mifare_DESFire

            0x4200-> MifarePlus(7Byte UID)

            返 回 值:大于0為命令發(fā)送成功,<=0為命令發(fā)送失敗


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

            int stdcall YW_RequestCard(int ReaderID,char RequestMode , unsigned short *CardType);


            Delphi聲明:

            function YW_RequestCard(ReaderID: Integer;RequestMode: Byte;var CardType: Word): Integer;stdcall;external YOWOREADERDLL;


            VB聲明:

            Public Declare Function YW_RequestCard Lib "YW60x.dll" (ByVal ReaderID As Long, ByVal RequestMode As Byte, ByRef CardType As Integer) As Long


            JAVA聲明:

            public int YW_RequestCard(int ReaderID,int RequestMode , Pointer CardType)

            {

            int ret;

            try

            {

            JNative fuc = new JNative("YW60x.dll", "YW_RequestCard");

            fuc.setRetVal(Type.INT);

            fuc.setParameter(0, ReaderID);

            fuc.setParameter(1,RequestMode);

            fuc.setParameter(2,CardType);

            fuc.invoke();

            ret = fuc.getRetValAsInt();

            }

            catch(NativeException e)

            {

            ret = -1;

            }

            catch(IllegalAccessException e)

            {

            ret = -2;

            }

            return ret;

            }


            C#聲明:

            [DllImport("YW60x.dll")]

            public static extern int YW_RequestCard(int ReaderID,byte RequestMode, ref ushort CardType);


            Power Builder 9 聲明:

            public FUNCTION long YW_RequestCard (long lReaderID , char RequestMode, ref integer CardType ) library "YW60x.dll"


            支持的RFID讀寫器:
            SDT-HA, YW-605RA, YW-605RB, YW-605RC, YW-605SA, YW-605SB, YW-605SC, YW-605UA, YW-605UB, YW-605UC, YW-605HA, YW-605HB, YW-605HC, YW-620HA, YW-620HB, YW-620HC, YW-608RA, YW-608RB, YW-608RC, YW-608SA, YW-608SB, YW-608SC, YW-608UA, YW-608UB, YW-608UC, YW-608HA, YW-608HB, YW-608HC, YW-610SA, YW-610SB, YW-610SC, YW-607

              <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>
                      大香蕉欧美伊人 | www.yiren99 | 日本中文在线视频 | 色噜噜狠狠一区二区三区 | 大香蕉尹人在线观看 |