YHY638F
13.56MHz RFID Reader/Writer
User Manual
Version 1.0
Page 24 of 28
Apr 2010
6.4.6 INT WINAPI ISO15693_STAY_QUIET
Function: ISO15693_Stay_Quiet
Prototype: int WINAPI ISO15693_Stay_Quiet (unsigned short icdev, unsigned char *pUID)
Parameter: icdev: [IN] Device ID
pUID: [IN] 8 bytes UID
Return: return 0 if successful
6.4.7 INT WINAPI ISO15693_GET_BLOCK_SECURITY
Function: ISO15693_Get_Block_Security
Prototype: int WINAPI ISO15693_Get_Block_Security ( unsigned short icdev,
unsigned char model,
unsigned char *pUID,
unsigned char block,
unsigned char number,
unsigned char *pData,
unsigned char *pLen)
Parameter: icdev: [IN] Device ID
model: [IN] bit0=Select_flag, bit1=Addres_flag, bit2=Option_flag
pUID: [IN] 8 bytes UID
block: [IN] block address
number: [IN] the number of block to be read, < 0x40
pData: [OUT] response 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 cards that the UID are congruous will respond
this command
Clear Option_flag = 0
6.4.8 INT WINAPI ISO15693_READ
Function: ISO15693_Read
Prototype: int WINAPI ISO15693_Read ( unsigned short icdev,
unsigned char model,
unsigned char *pUID,
unsigned char block,
unsigned char number,
unsigned char *pData,
unsigned char *pLen);
Parameter: icdev: [IN] Device ID
model: [IN] bit0=Select_flag, bit1=Addres_flag, bit2=Option_flag
pUID: [IN] 8 bytes UID
block: [IN] block address
number: [IN] the number of block to be read, < 0x40
pData: [OUT] response 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 cards that the UID are congruous will respond
this command
Clear Option_flag = 0