23
Value:
0——IDLE
mode,can operate one card once;
1——ALL
mode,can operate serval card once;
strSnr: the decimal string card number returned (10 digit sequence)
Return Value
0 if successful; otherwise, Nonzero.
Example
int st;
unsigned char snr[11]={0};
st=fw_card_str(icdev,1,snr);
int fw_request(int icdev,unsigned char _Mode,unsigned int *TagType);
Description
Find card
request.
Parameters
icdev:Value of Device Handle.
_Mode:find card.Mode
Value:
0——IDLE
mode,can operate one card once;
1——ALL
mode,can operate serval card once;
Tagtype:returned
value
of
Card Type;values mean
following
Eigenvalue(decimal)
Card Type
4
MIFARE ONE (M1)
2
S70
8
MIFARE PRO
68
ULTRA LIGHT
Return Value
0 if successful; otherwise, Nonzero.
Example
int st;
unsigned int *tagtype;
st=fw_request(icdev,0,tagtype);
int fw_anticoll(int icdev,unsigned char _Bcnt,unsigned long *_Snr);
Description
Preventing Card conflict,return the card Serial number.
Parameters
icdev:Value of Device Handle.
_Bcnt: Shoud be set value 0
_Snr: [out] card serial number
Returned address of the card serial number
Return Value
0 if successful; otherwise, Nonzero.