-
9.3.5 ISO-14443A Read Sector Data
Function Description:
Read the specify sector data.
Function Call:
INT32 RDINT_ReadMifareOneSector(BYTE u8COMPort, BYTE u1KeyType, BYTE u1DefaultKey,
BYTE u8DefaultKeyIndx, BYTE u8Sector, LPBYTE pu8Key, LPBYTE pu8Data);
Parameter:
u8COMPort:
The reader’s COM port number (1 – 255)
u1KeyType:
The private key type.
CARD_KEY_A
CARD_KEY_B
u1DefaultKey:
Use the default password in the reader.
TURN_ON
TURN_OFF
u8DefaultKeyIndx:
The index of the default key which in the reader.
u8Sector:
The sector which you want to read (Ex: 0, 1, 2…).
pu8Key:
The user defines key value.
pu8Data: Receive
the
data.
Return code:
Please refer to section 9.5.
9.3.6 ISO-14443A Write Block Data
Function Description:
Write data to the specify block.
Function Call:
INT32 RDINT_WriteMifareOneBlock(BYTE u8COMPort, BYTE u1KeyType, BYTE u1DefaultKey,
BYTE u8DefaultKeyIndx, BYTE u8Block, LPBYTE pu8Key, LPBYTE pu8Data);
Parameter:
u8COMPort:
The reader’s COM port number (1 – 255)
u1KeyType:
The private key type.
CARD_KEY_A
CARD_KEY_B
u1DefaultKey:
Use the default password in the reader.
TURN_ON
TURN_OFF
u8DefaultKeyIndx:
The index of the default key which in the reader.
u8Block:
The block which you want to read (Ex: 0, 1, 2…).
pu8Key:
The user defines key value.
pu8Data:
The data which user wants to write.
Return code:
Please refer to section 9.5.