WinCEGeräteSE_Handbuch_Programmierung_v3.00_EN
34 / 65
Reading data from a transponder card:
The example below describes the sequence to read out the 12th sector of a Mifare transponder card with the
physical transponder address 0x9C 4B 23 D2.
This card is stored in the RFID field of the RFID read / write device. At the same time, another transponder
card is also located in the recognition field of the read / write device.
The card is assigned with the “transport configuration” status.
Sequence step /
function:
Parameter:
Description:
RFIDInit
dwCardFamily = CARDFAMILY_MIFARE
nRecvTimeout = 5000
nPowerDownTimeout = 0
fErrorResult = TRUE
Return of RFID handle
Initialisation
RFIDLoadKey
Transfer of RFID handle
dwCardFamily = CARDFAMILY_MIFARE
nSector = 11
lpKeyA = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}
lpKeyB = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}
fStoreKeyInEEPROM = FALSE
Load authentication
keys A and B into
RAM
RFIDSelectKeyAuth Transfer of RFID handle
dwCardFamily = CARDFAMILY_MIFARE
fKeyAuthFromEEPROM = FALSE
Load authentication
keys A and B
are loaded by RFID
read / write device from
RAM
A detailed description of the individual transponder types and DLL RFIDApi can be found in the
RFID_SoftwareDocu_Vx.xx.pdf document.