User Manual

35
icdev: Value of Device Handle.
rlen: Length of reset information
rbuff: buff for returned reset Information
Return Value
0 if successful; otherwise, Nonzero.
Example
int st;
int relen;
unsigned char rebuff[255]={0};
st= fw_reset_mifarepro(icdev,&relen,rebuff);
int fw_apdu_mifarepro(int icdev,unsigned char slen,unsigned char * sbuff,
unsigned char *rlen,unsigned char * rbuff);
Description
Information transfer between Mifaere Pro Card and APDU(Application Protocol
Unit)
Parameters
icdev: Value of Device Handle.
slen : Length of information for send
sbuff : buff for Information to send
rlen : Length of returned Information
rbuff : buff for returned Information
Return Value
0 if successful; otherwise, Nonzero.
Example
int st;
unsigned char slen,rlen,recdata[100];
slen=7;
unsigned char *senddata=”00A40000022F02”;
st= fw_apdu_mifarepro(icdev,slen,senddata,&rlen,recdata)
2.9 Contactless CPU card(ISO1443) specific functions
__int16 fw_pro_reset(int ICDev,unsigned char *rlen,unsigned char * rbuff);
Description
Card reset function
Parameters
icdev: Value of Device Handle.
rlen: length of returned reset information
rbuff: reset information
Return Value
0 if successful; otherwise, Nonzero.
Example