User Manual

21
Query and get the input password
Parameter:
icdev :Value of device handle
rlen The length of returned data
cpass :The input password
Return:
type 0x0,succeed to get password,rlen the length of password(1-8,according
to the user
s input),cpass is password
type 0xa1,the length of the password overflow,the maximum is 25 digits
type 0xa2,cancel password inputting ,rlen =0,no data;
type 0xa3,not the status of password inputting,rlen =0,no data;
type 0xa4,not complete the operation of inputting password,rlen =0,no data;
type 0xa5,the operation of inputting password overtime
Remark:
The return value,0xa4,is important,it constantly appears in the process of
inquiring, indicates that inputting has been not completed.You can implement the
IC_PassGet function to get password.
__int16 fw_PassCancel(Int icdev);
Description
Cancel the status of inputting password ,the device recovers the normal status.
Parameter:
icdev: Value of device handle
Return:
0 if successful;otherwise Nonzero
__int16 fw_ CheckKeyValue (int icdev,unsigned char *rlen,unsigned char
*retdata);
Description
Inquire the input key value
Parameter:
icdev: value of device handle
rlen:the length of the return data
retdata:key value
Return:
0 if successful;otherwise Nonzero
2.4 S50M1Functions
int fw_card(int icdev,unsigned char _Mode,unsigned long *_Snr);
Description
Find card, can return the card serial Number in working area. (Contain the next
functions :fw_request,fw_anticoll,fw_select)