User Manual

8
verifying the password. Each time you do these operations of card, you should repeat the stpes
(3), (4) .
6Afer operation with certain card,the function fw_halt() should be called to abort operation.
7Before exit program,the function fw_exit had better be called to close communication port.
8Please refer to the examples under SDK directory to develop your program.
1.8 API Function List
Common Functions
Function Name
Description
fw_init
Initialize the communication port
fw_exit
Close the port
fw_des
Encrypt/Decrypt
fw_config_card
Set operation-card type
a_hex
Convert hex string to the corresponding characters of ordinary ASC
hex_a
Convert ordinary ASC to the corresponding hex string
Device Function
Function Name
Description
fw_beep
Make beep
fw_getver
Get the version of Reader
fw_GetDevSN
Get serial number of device
fw_GetDeviceMemSize
Get size of device’s eeprom
fw_srd_eeprom
Read EEPROM
fw_swr_eeprom
Write EEPROM
fw_reset
Reset card
fw_lcd_setbright
LCD light on&off
fw_lcd_dispstr
LCD display string