ACR1281U-C8 – Application Programming Interface
Version 1.00
www.acs.com.hk
Page 16 of 52
3.10. ACR120_ReadEEPROM
Reads the internal EEPROM.
High Level API
:
DLLAPI INT16 AC_DECL
ACR120_ReadEEPROM( INT16 hReader,
UINT8 RegNo,
UINT8* pEEPROMData);
Parameters
Description
hReader
Handle to the Reader returned by AC_Open()
RegNo
Register number
pEEPROMData
Contains the EEPROM register’s value
Return Value
INT16
Result code. 0 means success.
Table 11
: ACR120_ReadEEPROM Command Description
Low Level Frame Structure:
Command: From PC to Reader (6 bytes)
Command Code
(1 byte)
Command Data Length
(1 bytes)
Instruction Code
(1 byte)
Data Length
(1 byte)
Data
(1 byte)
E0h
03h
08h
01h
RegNo
Response: From Reader to PC (6 bytes) <<Success or Fail>>
Response Code
(1 byte)
Response Status
(2 bytes)
Response Data Length
(2 bytes)
Response Data
(1 byte)
E1h
INT16
0001h
pEEPROMData