background image

 

YHY638F

13.56MHz RFID Reader/Writer 

User Manual

 

Version 1.0     

Page 26 of 28 

Apr 2010

 

    If set Address_flag, only the cards that the UID are congruous will respond   
  this command  
    If write TI card, set Option_flag,   
    If write I.CODE SLI card, clear Option_flag   
   

6.4.12 INT WINAPI ISO15693_LOCK_AFI   

 

Function:  ISO15693_Lock_AFI  
Prototype:  int WINAPI ISO15693_Lock_AFI ( unsigned short    icdev,   
                                       unsigned char model,   
                                       unsigned char *pUID)  
Parameter: icdev:  [IN]  Device ID  
          model:   [IN]  bit0=Select_flag, bit1=Addres_flag, bit2=Option_flag   
                    pUID:    [IN]    8 bytes UID   
Return:    return 0 if successful  
Explanation:

 

  If set Select_flag, only the cards on Selected state respond this command     

    If set Address_flag, only the cards that the UID are congruous will respond   
  this command  
    If write TI card, set Option_flag,   
    If write I.CODE SLI card, clear Option_flag   

   

6.4.13 INT WINAPI ISO15693_WRITE_DSFID   

 

Function:  ISO15693_Write_DSFID  
Prototype:  int WINAPI ISO15693_Write_DSFID (unsigned short    icdev,   
                                          unsigned char  model,   
                                          unsigned char  *UID,   
                                          unsigned char  DSFID)  
Parameter:  icdev:  [IN]  Device ID  
           model:   [IN]  bit0=Select_flag, bit1=Addres_flag, bit2=Option_flag   
           pUID:  [IN]  8 bytes UID  
           DSFID:  [IN]  DSFID to be written  
Return:    return 0 if successful  
Explanation:

 

  If set Select_flag, only the cards on Selected state respond this command     

    If set Address_flag, only the cards that the UID are congruous will respond   
  this command  
    If write TI card, set Option_flag,   
    If write I.CODE SLI card, clear Option_flag   
   

6.4.14 INT WINAPI ISO15693_LOCK_DSFID  

 

Function:  ISO15693_Lock_DSFID  
Prototype:  int WINAPI ISO15693_Lock_DSFID ( unsigned short    icdev,   
                                          unsigned char  model,  
                                          unsigned char  *pUID)  
Parameter: icdev:  [IN]  Device ID  
          model:   [IN]  bit0=Select_flag, bit1=Addres_flag, bit2=Option_flag   
                    pUID:    [IN]    8 bytes UID   
Return:    return 0 if successful  
Explanation:

 

  If set Select_flag, only the cards on Selected state respond this command     

    If set Address_flag, only the cards that the UID are congruous will respond   
  this command  
    If write TI card, set Option_flag,   

Summary of Contents for YHY638F

Page 1: ...Mifare_One S50 S70 UltraLight Mifare_ProX ISO 14443 TypeB AT88RF020 SR176 SRIX4K ISO 15693 Tag_it 2k HF 1 I CODE SLI and more 2 Special Features z Read and write contactless smart cards z Frequency 1...

Page 2: ...Connecting Connect the YHY638F to the USB or RS232 port of PC after power on the RED led and GREEN led will flash one time then the GREEN led will light on again next the buzzer will beep twice it mea...

Page 3: ...age 3 of 28 Apr 2010 Connect one of the A type USB connector to the rear side of the YHY638FR another USB connector which near the serial connector connect to the host USB port for power the device an...

Page 4: ...yp Max Unit IDVDD Supply Current Reading started but no cards in the reader range 90 mA IDVDD Reading started 1 card in the reader range 95 mA Table 2 Current Consumption 4 3 Operating Distance Symbol...

Page 5: ...tem 5 1 COM setup First run RFIDXray exe then connect the reader to PC COM port Choose the correct COM number click Connect button to connect the Reader to PC Baud set to 115200 Click Read the product...

Page 6: ...RFID Reader Writer User Manual Version 1 0 Page 6 of 28 Apr 2010 5 3 Mifare_1K STD S50 Click the Request button to obtain the card serial number Input the correct password to read write increase or d...

Page 7: ...ge 7 of 28 Apr 2010 5 4 Mifare_4K STD S70 Click the Request button to obtain the card serial number Input the correct password to read write increase or decrease the card 5 5 Mifare_ProX Click Reset b...

Page 8: ...sion 1 0 Page 8 of 28 Apr 2010 the card according to ISO14443 4 protocol Input the COS command click Send button to commute data to card 5 6 SR176 Click Req button to obtain the ID number of the card...

Page 9: ...ton to obtain the ID number of the card and click Read UID to obtain the UID of the card Then you can read write and lock blocks of the card 5 8 AT88RF020 Click ReqB button to obtain the serial number...

Page 10: ...ual Version 1 0 Page 10 of 28 Apr 2010 Click INVENTORY button to obtain the serial number of the card You can operate 4 cards at most Choose certain card according to the UID to read or write This dem...

Page 11: ...Version 1 0 Page 11 of 28 Apr 2010 Click INVENTORY button to obtain the serial number of the card You can operate 4 cards at most Choose certain card according to the UID to read write 5 11 HELP You c...

Page 12: ...al Version 1 0 Page 12 of 28 Apr 2010 5 12 DISCONNECT READER 5 13 EXIT 6 DLL INFORMATION icdev 0 6 1 SYSTEM FUNCTION 6 1 1 INT WINAPI LIB_VER Function Get DLL Version Prototype int WINAPI lib_ver unsi...

Page 13: ...formation pLen OUT length of response information Return return 0 if successful 6 1 5 INT WINAPI RF_INIT_TYPE Function Set Reader contactless working mode Prototype int WINAPI rf_init_type unsigned sh...

Page 14: ...2 1 1 INT WINAPI RF_REQUEST Function ReqA Prototype int WINAPI rf_request unsigned short icdev unsigned char model unsigned short pTagType Parameter icdev IN Device ID model IN REQ MODE pTagType OUT...

Page 15: ...unsigned char pData Parameter icdev IN Device ID page IN UltraLight card page address 0 0x0F pData IN written data 4 bytes Return return 0 if successful 6 2 1 5 INT WINAPI RF_HALT Function TYPE_A card...

Page 16: ...nd only one TYPE_A card on active estate at the same influence range at same time 6 2 2 4 INT WINAPI RF_M1_AUTHENTICATION2 Function Mifare_Std Authentify Prototype int WINAPI rf_M1_authentication2 uns...

Page 17: ...re_Std Read Value Prototype int WINAPI rf_M1_readval unsigned short icdev unsigned char block long pValue Parameter icdev IN Device ID block IN block absolute address pValue OUT response value at HEX...

Page 18: ...on Mifare Halt Prototype int WINAPI rf_halt unsigned short icdev Parameter icdev IN Device ID Return return 0 if successful Explanation card exit active estate after received this command 6 2 3 Mifare...

Page 19: ...d char pMsgLg Parameter icdev IN Device ID model IN REQ MODE 0 REQB 1 WUPB pData OUT response data from card pMsgLg OUT length of response data Return return 0 if successful 6 3 2 2 INT WINAPI RF_ AT0...

Page 20: ...d char pData Parameter icdev IN Device ID pData IN 4 bytes data Return return 0 if successful 6 3 2 7 INT WINAPI RF_ AT020_DESELECT Function AT88RF020 card Deselect Prototype int WINAPI rf_at020_desel...

Page 21: ...lockreg controls 2 blocks lockreg BLOCK bit_setting b7 14 15 0 Write Enable 1 Block set as ROM b6 12 13 0 Write Enable 1 Block set as ROM b5 10 11 0 Write Enable 1 Block set as ROM b4 8 9 0 Write Enab...

Page 22: ...if successful Explanation 7 15 blocks of SRIX4K card can be written protect lockreg BLOCK bit_setting b7 15 1 Write Enable 0 Block set as ROM b6 14 1 Write Enable 0 Block set as ROM b5 13 1 Write Enab...

Page 23: ...turn return 0 if successful Explanation If set Select_flag only the cards on Selected state respond this command If set Address_flag only the cards that the UID are congruous will respond this command...

Page 24: ...ponse data from tag pLen OUT length of response data Return return 0 if successful Explanation If set Select_flag only the cards on Selected state respond this command If set Address_flag only the car...

Page 25: ...ock_Block Prototype int WINAPI ISO15693_Lock_Block unsigned short icdev unsigned char model unsigned char pUID unsigned char block Parameter icdev IN Device ID model IN bit0 Select_flag bit1 Addres_fl...

Page 26: ...e_DSFID Prototype int WINAPI ISO15693_Write_DSFID unsigned short icdev unsigned char model unsigned char UID unsigned char DSFID Parameter icdev IN Device ID model IN bit0 Select_flag bit1 Addres_flag...

Page 27: ...YHY638F 13 56MHz RFID Reader Writer User Manual Version 1 0 Page 27 of 28 Apr 2010 If write I CODE SLI card clear Option_flag 7 Pictures YHY638 size picture YHY638 Top View...

Page 28: ...8 Apr 2010 YHY638 Side View YHY638 Back Side View YHY638 Rear Side View Contact Information EHUOYAN Technology Co Ltd Tel 86 010 59870151 Fax 86 010 59754725 email info ehuoyan com WebSite www ehuoyan...

Reviews: