YHY638F
13.56MHz RFID Reader/Writer
User Manual
Version 1.0
Page 19 of 28
Apr 2010
cmdLen: [IN] length of COS command
pData: [OUT] response data from card, including SW1& SW2
pMsgLg: [OUT] length of response data
Return: return 0 if successful
6.2.3.3 INT WINAPI RF_CL_DESELECT
Prototype: int WINAPI rf_cl_deselect (unsigned short icdev)
Parameter: icdev: [IN] Device ID
Return: return 0 if successful
6.3 ISO14443 Type B FUNCTION
6.3.2 AT88RF020
6.3.2.1 INT WINAPI RF_ TYPEB_RST
Function: REQ ISO14443B protocol card and set SLOT
Prototype: int WINAPI rf_atqb(unsigned short icdev,
unsigned char model,
unsigned char *pData,
unsigned 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_ AT020_CHECK
Function: AT88RF020 card Authentify
Prototype: int WINAPI rf_at020_check (unsigned short icdev, unsigned char *pKey)
Parameter: icdev: [IN] Device ID
pKey: [IN] 8 bytes pass word
Return: return 0 if successful
6.3.2.3 INT WINAPI RF_ AT020_COUNT
Function: AT88RF020 card count
Prototype: int WINAPI rf_at020_count(unsigned short icdev, unsigned char *pData)
Parameter: icdev: [IN] Device ID
pData: [IN] signature, 6 bytes
Return: return 0 if successful
6.3.2.4 INT WINAPI RF_ AT020_READ
Function: AT88RF020 read
Prototype: int WINAPI rf_at020_read (unsigned short icdev,
unsigned char page,
unsigned char *pData,
unsigned char *pMsgLen)