User Manual

19
unsigned char buffer[100];
st=fw_srd_eeprom(icdev,0,100,buffer);
int fw_swr_eeprom(int icdev,int offset,int length,unsigned char* buffer);
Description
Write remark information to Reader
Parameters
icdev:Value of Device Handle.
offset:Offset address(0~1278)
length:Length of information to write(1~1279)
buffer:Information to write
Return Value
0 if successful; otherwise, Nonzero.
__int16 fw_reset(HANDLE icdev,unsigned __int16 _Msec)
Description
Reset the MCM(MIFARE read/write device core module)
Parameters
Icdev :Handle of Device
_Msec : Reset time, unit is Millionseconds (this value is 0 means off
frequency, 1,2 means reset time is ... 1 ms, 2 ms ...
Return Value
<0 error. The absolute value is the error number
=0 sucessful.
Example
st=fw_reset(icdev,2)
int fw_lcd_setbright(int icdev,unsigned char bright)
Description
Set LCD backlight on or off
Parameters
icdev:Value of Device Handle.
bright:sign of LCD light on or off .15—light on,0--off
Return Value
0 if successful; otherwise, Nonzero.
Example
st= fw_lcd_setbright(icdev,15);//light LCD
int fw_lcd_dispstr(int icdev,char *str)
Description
Set LCD display string
Parameters
icdev:Value of Device Handle.
str :the string to display
Return Value
0 if successful; otherwise, Nonzero.