-
9.17. Start Read Card Serial Number
Function Description:
Start read card serial number and if reader gets a data then the library will create an event
“EVENT_MIFARE_GET_DATA”.
Function call:
int Mifare_StartRead();
Parameters:
None.
Return code:
Please refer to chapter 10.21.
9.18. Stop Read Card Serial Number
Function Description:
Stop read card serial number.
Function call:
int Mifare_StopRead();
Parameters:
None.
Return code:
Please refer to chapter 10.21.
9.19. Get Card Serial Number
Function Description:
To get card serial number after get the event “EVENT_MIFARE_GET_DATA“.
Function call:
int Mifare_GetData(char *szData, int *nLen);
Parameters:
szData:
[Out]
Point to the buffer that receive the data.
nLen:
[In]
The size of the parameter szData.
[Out]
Return the data length of szData.
Return code:
Please refer to chapter 10.21.
9.20. Check Reading
Function Description:
To check the API “Mifare_StartRead()” is running or not.
Function call:
BOOL Mifare_IsReading();
Parameters:
None.
Return code:
TRUE:
Reading.
FALSE:
Not reading.